Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator can migrate the database up and down using the migration scripts
func (*Migrator) Down ¶
Down looks at the currently active migration version and will migrate step versions down or applying all down migrations if step is not given
type Seeder ¶
type Seeder struct {
// contains filtered or unexported fields
}
Seeder can import the test data into the database
type StartUpMigrations ¶
type StartUpMigrations struct {
// contains filtered or unexported fields
}
StartUpMigrations subscribes to the AppStartup
Click to show internal directories.
Click to hide internal directories.