Changelog for persistent-migration-0.2.0
persistent-migration 0.2.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
persistent-migration 0.1.0
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)
persistent-migration 0.0.2
- Generalize
hasMigration
andcheckMigration
toMonadIO
persistent-migration 0.0.1
- Initial implementation