Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class TableChanges old new where Source #
tableChanges :: Dd old -> Dd new -> MigrationActions ext Source #
Instances
(DdlTypes 'True old (oldTable ': oldTypes), DdlTypes 'True new (newTable ': newTypes), TypeChanges oldTypes newTypes, TableChange oldTable newTable) => TableChanges old new Source # | |
Defined in Sqel.Migration.Table tableChanges :: Dd old -> Dd new -> MigrationActions ext Source # |
class MigrationTables m old new where Source #
withMigrationTables :: MigrationActions ext -> Dd old -> Dd new -> Migration ('Mig (DdType old) (DdType new) m ext) Source #
Instances
(ReifyDd old, ReifyDd new) => MigrationTables m old new Source # | |
Defined in Sqel.Migration.Table withMigrationTables :: MigrationActions ext -> Dd old -> Dd new -> Migration ('Mig (DdType old) (DdType new) m ext) Source # |
class AutoMigration old new where Source #
Instances
(TableChanges old new, ReifyDd old, ReifyDd new) => AutoMigration old new Source # | |