Use new delete syntax in `deleteMigration`
commit7ea760a14d4d1a91484047c4b4c42014e2a9b5cb
authorRaveline <eraveline@gmail.com>
dateThu 29 Nov 2018, 14:09 (8 years ago)
parent900f0b0
squeal-postgresql/src/Squeal/PostgreSQL/Migration.hs+1−1
@@ -281,7 +281,7 @@ insertMigration = insertRow_ #schema_migrations
281281deleteMigration
282282 :: Has "schema_migrations" schema ('Table MigrationsTable)
283283 => Manipulation schema '[ 'NotNull 'PGtext ] '[]
284−deleteMigration = deleteFrom_ #schema_migrations (#name .== param @1)
284+deleteMigration = deleteFrom_ #schema_migrations NoUsing (#name .== param @1)
285285
286286-- | Selects a `Migration` from the `MigrationsTable`, returning
287287-- the time at which it was executed.