blob: 6f06c2da48cc3cc282ec72a9a60f6d3510f57be6 (
plain) (
tree)
|
|
package migrate
import (
"context"
"git.neonxp.ru/neonxp/guessr/cmd/migrator/migrator"
"git.neonxp.ru/neonxp/guessr/migrations"
"github.com/urfave/cli/v3"
)
func Init(ctx context.Context, c *cli.Command) error {
m, err := migrator.New(c, migrations.Migrations)
if err != nil {
return err
}
return m.Init(ctx)
}
|