Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migration ¶
type Migration interface { Version() uint Diff(migration *Migration) (map[string]string, error) // EffectTables() ([]string, error) // SetDDL(tableName string, ddl DDL) GetDDLs() map[string]*DDL }
func NewMigration ¶
func NewMigration(cmd MigrationCommand) (Migration, error)
type MigrationCommand ¶
Click to show internal directories.
Click to hide internal directories.