mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 17:48:14 +02:00
[#5618] added support to conditionally reapply migrations
This commit is contained in:
1 parent
ed1dc54f27
commit
646331bfa2
13 files changed
+320
-207
No files matched your search
@@ -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