Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMigrationsList ¶
func InitMigrationsList(ml []Migrable)
InitMigrationsList - Sets the migrations list
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator - Manages the migration
func GetMigratorInstance ¶
func GetMigratorInstance() *Migrator
GetMigratorInstance - Returns the Migrator's instance GetMigratorInstance - Restituisce l'unica istanza di migrator
func (*Migrator) DoDownMigrations ¶
DoDownMigrations - Executes the rollbacks defined in the migrations list
func (*Migrator) DoUpMigrations ¶
DoUpMigrations - Executes the migrations
Click to show internal directories.
Click to hide internal directories.