aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-08-02 13:48:55 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-08-02 13:48:55 -0400
commit6a65be22a5e3434e8ca925ec40162c560e1dd612 (patch)
treee75e556395c794021dc6900927b426cb45ddfdb3 /main.go
parentd4003133b2c1647d61821cda5d6ce2f5421742e4 (diff)
Improve initial db connection
Now checks for presence of db version metadata in before attempting to create database schema.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 8bae750..9339609 100644
--- a/main.go
+++ b/main.go
@@ -126,7 +126,7 @@ func main() {
logger := slog.New(logHandler)
slog.SetDefault(logger)
- querier := data.NewQuery(globalFlags.DBPath)
+ querier := data.NewQuery(globalFlags.DBPath, VERSION)
// command specific
var exitCode int