mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
dialect/sql/schema: add schema dump command (#4296)
* dialect/sql/schema: add schema dump command * entc/gen/template: drop build flag from generated globalid.go
This commit is contained in:
@@ -525,6 +525,7 @@ func (a *Atlas) StateReader(tables ...*Table) migrate.StateReaderFunc {
|
||||
}
|
||||
a.sqlDialect = drv
|
||||
}
|
||||
a.setupTables(tables)
|
||||
ts, err := a.tables(tables)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user