mirror of
https://github.com/ent/ent.git
synced 2026-05-04 08:30:57 +03:00
all: update atlasgo.io to latest (#2376)
This commit is contained in:
@@ -171,7 +171,7 @@ func (m *Migrate) Diff(ctx context.Context, tables ...*Table) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return migrate.New(nil, m.atlas.dir, m.atlas.fmt).WritePlan(plan)
|
||||
return migrate.NewPlanner(nil, m.atlas.dir, migrate.WithFormatter(m.atlas.fmt)).WritePlan(plan)
|
||||
}
|
||||
|
||||
func (m *Migrate) create(ctx context.Context, tables ...*Table) error {
|
||||
|
||||
Reference in New Issue
Block a user