mirror of
https://github.com/ent/ent.git
synced 2026-05-22 09:31:45 +03:00
all: update atlas (#2739)
This commit is contained in:
@@ -183,7 +183,7 @@ func (a *Atlas) NamedDiff(ctx context.Context, name string, tables ...*Table) er
|
||||
return err
|
||||
}
|
||||
if len(s.Tables) > 0 {
|
||||
return migrate.ErrNotClean
|
||||
return migrate.NotCleanError{Reason: fmt.Sprintf("found table %q", s.Tables[0].Name)}
|
||||
}
|
||||
// Clean up once done.
|
||||
defer func() {
|
||||
|
||||
Reference in New Issue
Block a user