| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Sqel.Migration.Table
Documentation
class TableChanges old new where Source #
Methods
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 Methods tableChanges :: Dd old -> Dd new -> MigrationActions ext Source # | |
class MigrationTables m old new where Source #
Methods
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 Methods withMigrationTables :: MigrationActions ext -> Dd old -> Dd new -> Migration ('Mig (DdType old) (DdType new) m ext) Source # | |
class AutoMigration old new where Source #
Methods
autoMigration :: Dd old -> Dd new -> Migration ('Mig (DdType old) (DdType new) m Void) Source #
Instances
| (TableChanges old new, ReifyDd old, ReifyDd new) => AutoMigration old new Source # | |