summaryrefslogtreecommitdiff
path: root/storage/storage.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-22 20:06:56 +0200
committerewy <ewy0@protonmail.com>2026-05-22 20:06:56 +0200
commit094846c15f4148c166ac297e26a1248bab0ab5c7 (patch)
treed9f671bb0d34b5be52db62636278f5d3e5657283 /storage/storage.go
parent3ea1ed1362984619b182c0ddf9a6b1dc7ba5bcd0 (diff)
add views, expand api, add windows opening thing overridemain
Diffstat (limited to 'storage/storage.go')
-rw-r--r--storage/storage.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/storage/storage.go b/storage/storage.go
index 253a4c2..ddb466d 100644
--- a/storage/storage.go
+++ b/storage/storage.go
@@ -54,7 +54,12 @@ func Init(items ...any) error {
return err
}
- return dbmap.CreateTablesIfNotExists()
+ err = dbmap.CreateTablesIfNotExists()
+ if err != nil {
+ return err
+ }
+
+ return SetupViews()
}
func register(item ...any) error {