mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
commit
1febc2de16
@ -448,7 +448,7 @@ func MigrateReset(currpath, driver, connStr, dir string) {
|
|||||||
migrate("reset", currpath, driver, connStr, dir)
|
migrate("reset", currpath, driver, connStr, dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
// migrationRefresh rolls back all migrations and start over again
|
// MigrateRefresh rolls back all migrations and start over again
|
||||||
func MigrateRefresh(currpath, driver, connStr, dir string) {
|
func MigrateRefresh(currpath, driver, connStr, dir string) {
|
||||||
migrate("refresh", currpath, driver, connStr, dir)
|
migrate("refresh", currpath, driver, connStr, dir)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user