Documentation ¶
Index ¶
Constants ¶
View Source
const TIMESTAMP_LENGTH = 10
Variables ¶
This section is empty.
Functions ¶
func AddMigrator ¶
func AddMigrator(migrator Migrator)
Types ¶
type Migration ¶
type MigrationUtils ¶
func (*MigrationUtils) Fresh ¶
func (mu *MigrationUtils) Fresh()
func (*MigrationUtils) Install ¶
func (mu *MigrationUtils) Install()
func (*MigrationUtils) Migrate ¶
func (mu *MigrationUtils) Migrate()
func (*MigrationUtils) Refresh ¶
func (mu *MigrationUtils) Refresh()
func (*MigrationUtils) Reset ¶
func (mu *MigrationUtils) Reset()
func (*MigrationUtils) Rollback ¶
func (mu *MigrationUtils) Rollback()
func (*MigrationUtils) Status ¶
func (mu *MigrationUtils) Status()
type MigratorIdentifier ¶
type MigratorIdentify ¶
type MigratorIdentify struct{}
func (*MigratorIdentify) Name ¶
func (m *MigratorIdentify) Name(migrator *Migrator) string
func (*MigratorIdentify) Timestamp ¶
func (m *MigratorIdentify) Timestamp(migrator *Migrator) uint
Click to show internal directories.
Click to hide internal directories.