on dev help sign in
Use new delete syntax in `deleteMigration`
7ea760aRaveline
squeal-postgresql/src/Squeal/PostgreSQL/Migration.hs+1−1
@@ -281,7 +281,7 @@ insertMigration = insertRow_ #schema_migrations
281deleteMigration
281deleteMigration
282 :: Has "schema_migrations" schema ('Table MigrationsTable)
282 :: Has "schema_migrations" schema ('Table MigrationsTable)
283 => Manipulation schema '[ 'NotNull 'PGtext ] '[]
283 => Manipulation schema '[ 'NotNull 'PGtext ] '[]
284−deleteMigration = deleteFrom_ #schema_migrations (#name .== param @1)
284+deleteMigration = deleteFrom_ #schema_migrations NoUsing (#name .== param @1)
285
285
286-- | Selects a `Migration` from the `MigrationsTable`, returning
286-- | Selects a `Migration` from the `MigrationsTable`, returning
287-- the time at which it was executed.
287-- the time at which it was executed.