Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBMigration ¶
type DBMigrationImplementation ¶
type DBMigrationImplementation struct { Src source.MigrationSource Tgt target.Database }
DBMigrationImplementation the main service to execute the migration
func (*DBMigrationImplementation) MigrateDown ¶
func (dbm *DBMigrationImplementation) MigrateDown() error
MigrateDown Migrates all the schemas Down
func (*DBMigrationImplementation) MigrateSchemaDown ¶
func (dbm *DBMigrationImplementation) MigrateSchemaDown(schema string) error
func (*DBMigrationImplementation) MigrateSchemaUp ¶
func (dbm *DBMigrationImplementation) MigrateSchemaUp(schema string) error
func (*DBMigrationImplementation) MigrateUp ¶
func (dbm *DBMigrationImplementation) MigrateUp() error
MigrateUp Migrates all the schemas Up
Click to show internal directories.
Click to hide internal directories.