mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-20 13:04:04 +02:00
renamed daos.GetTableColumns and daos.GetTableInfo for consistency
This commit is contained in:
1 parent
923fc26a31
commit
9736a45e80
9 files changed
+27
-22
No files matched your search
@@ -112,7 +112,7 @@ func TestSyncRecordTableSchema(t *testing.T) {
|
||||
t.Errorf("[%s] Expected table %s to exist", s.name, s.newCollection.Name)
|
||||
}
|
||||
|
||||
cols, _ := app.Dao().GetTableColumns(s.newCollection.Name)
|
||||
cols, _ := app.Dao().TableColumns(s.newCollection.Name)
|
||||
if len(cols) != len(s.expectedColumns) {
|
||||
t.Errorf("[%s] Expected columns %v, got %v", s.name, s.expectedColumns, cols)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user