summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/short.nim2
1 files changed, 1 insertions, 1 deletions
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