summaryrefslogtreecommitdiff
path: root/src/database.nim
diff options
context:
space:
mode:
authorJulien Dessaux2021-10-26 21:41:39 +0200
committerJulien Dessaux2021-10-26 21:41:39 +0200
commit7f79a49bff7883db126481f8c8a795aa312e3505 (patch)
treef04efeff6440f580a9f109686e1cb30822c40ad6 /src/database.nim
parentAdded 6 months expiration option (diff)
downloadshort-7f79a49bff7883db126481f8c8a795aa312e3505.tar.gz
short-7f79a49bff7883db126481f8c8a795aa312e3505.tar.bz2
short-7f79a49bff7883db126481f8c8a795aa312e3505.zip
cosmetics
Diffstat (limited to '')
-rw-r--r--src/database.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.nim b/src/database.nim
index 8094f31..1ffc0df 100644
--- a/src/database.nim
+++ b/src/database.nim
@@ -22,7 +22,7 @@ const migrations = [
const latestVersion = migrations.len
proc Migrate*(db: DbConn): bool {.raises: [].} =
- var currentVersion : int
+ var currentVersion: int
try:
currentVersion = db.value("SELECT version FROM schema_version;").get().fromDbValue(int)
except SqliteError: