diff options
-rw-r--r-- | data/.keep | 0 | ||||
-rw-r--r-- | src/short.nim | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/data/.keep b/data/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/data/.keep diff --git a/src/short.nim b/src/short.nim index 959e5a7..df26552 100644 --- a/src/short.nim +++ b/src/short.nim @@ -15,7 +15,7 @@ var db {.threadvar.}: DbConn proc initDB() {.raises: [SqliteError].}= if not db.isOpen(): - db = openDatabase("short.db") + db = openDatabase("data/short.db") if not db.Migrate(): echo "Failed to migrate database schema" quit 1 |