Fixes:
- Don't insert into
persistent_migration
table if no migrations are running (#72) - Fix
SERIAL
type for INT64 columns (#79)
Fixes:
- Fix build for persistent-2.12.0.0
Breaking changes:
- Moved some types out of
Database.Persist.Migration.Operation
and intoDatabase.Persist.Migration.Core
Fixes:
- Fix for GHC 8.8
Other changes:
- Re-export
rawSql
inDatabase.Persist.Migration
Breaking changes:
- Remove prefixes from operations (#31)
- Refactored module structure (#34)
- New migration format with batched operations (#36)
Operation
is now a sum type instead of a newtype wrapper aroundMigrateable
(#58)- Interpolation now done with
MigrateSql
, e.g. inRawOperation
(#62) - Fix bug in
CreateTable
having multipleUnique
constraints (#63)
Other changes:
- Add new operations: RenameTable, AddConstraint, DropConstraint (#33)
- Use hpack (#42)
- Allow specifying defaults in columns (#52)
- Add new operation: RenameColumn (#55)
- Generalize
hasMigration
andcheckMigration
toMonadIO
- Initial implementation