1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-18 05:37:49 +02:00

updated views migrations to use SaveCollection

This commit is contained in:
Gani Georgiev 2023-08-11 14:37:53 +03:00
parent adb5d6e998
commit 1b633720be

View File

@ -20,7 +20,7 @@ func init() {
for _, collection := range collections {
// ignore errors to allow users to adjust
// the view queries after app start
dao.Save(collection)
dao.SaveCollection(collection)
}
return nil