implement modules
- migrations - migrate up - migrate down to blank - auto migrate
This commit is contained in:
15
migrate.go
Normal file
15
migrate.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package migrate
|
||||
|
||||
const (
|
||||
// ModuleMigrationsName is the name of the migrations module.
|
||||
ModuleMigrationsName = "migrations"
|
||||
|
||||
// ModuleMigrateUpName is the name of the migrate up module.
|
||||
ModuleMigrateUpName = "migrate up"
|
||||
|
||||
// ModuleMigrateBlankName is the name of the migrate blank module.
|
||||
ModuleMigrateBlankName = "migrate down to blank"
|
||||
|
||||
// ModuleAutoMigrateName is the name of the auto-migrate module.
|
||||
ModuleAutoMigrateName = "auto migrate"
|
||||
)
|
||||
Reference in New Issue
Block a user