blob: e3ba40aa35b37ffd026c4ad6949f7126ed32601a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package migrate
import (
"github.com/urfave/cli/v2"
"neonxp.ru/go/framework/cmd/app/migrator/migrator"
"neonxp.ru/go/framework/migrations"
)
func Init(c *cli.Context) error {
m, err := migrator.New(c, migrations.Migrations)
if err != nil {
return err
}
return m.Init(c.Context)
}
|