mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 09:17:27 +02:00
updated daos.HasTable to check also for views
This commit is contained in:
1 parent
41c3cc8a90
commit
4fdc8feafc
2 files changed
+3
-2
No files matched your search
@@ -24,6 +24,7 @@ func TestHasTable(t *testing.T) {
|
||||
{"_admins", true},
|
||||
{"demo3", true},
|
||||
{"DEMO3", true}, // table names are case insensitives by default
|
||||
{"view1", true}, // view
|
||||
}
|
||||
|
||||
for i, scenario := range scenarios {
|
||||
|
||||
Reference in new issue
Block a user