Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MigrationsToPerform policyServerMigrations = policyServerMigrations{
policyServerMigration{
"1",
migration_v0001,
},
policyServerMigration{
"2",
migration_v0002,
},
}
Functions ¶
This section is empty.
Types ¶
type MigrateAdapter ¶
type MigrateAdapter struct { }
func (*MigrateAdapter) ExecMax ¶
func (ma *MigrateAdapter) ExecMax(db MigrationDb, dialect string, m migrate.MigrationSource, dir migrate.MigrationDirection, max int) (int, error)
type MigrationDb ¶
type Migrator ¶
type Migrator struct {
MigrateAdapter migrateAdapter
}
func (*Migrator) PerformMigrations ¶
Click to show internal directories.
Click to hide internal directories.