[#5618] added support to conditionally reapply migrations
This commit is contained in:
@@ -175,8 +175,13 @@ type App interface {
|
||||
AuxNonconcurrentDB() dbx.Builder
|
||||
|
||||
// HasTable checks if a table (or view) with the provided name exists (case insensitive).
|
||||
// in the current app.DB() instance.
|
||||
HasTable(tableName string) bool
|
||||
|
||||
// AuxHasTable checks if a table (or view) with the provided name exists (case insensitive)
|
||||
// in the current app.AuxDB() instance.
|
||||
AuxHasTable(tableName string) bool
|
||||
|
||||
// TableColumns returns all column names of a single table by its name.
|
||||
TableColumns(tableName string) ([]string, error)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user