diff options
author | Julien Dessaux | 2021-10-26 21:41:39 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-10-26 21:41:39 +0200 |
commit | 7f79a49bff7883db126481f8c8a795aa312e3505 (patch) | |
tree | f04efeff6440f580a9f109686e1cb30822c40ad6 /src/database.nim | |
parent | Added 6 months expiration option (diff) | |
download | short-7f79a49bff7883db126481f8c8a795aa312e3505.tar.gz short-7f79a49bff7883db126481f8c8a795aa312e3505.tar.bz2 short-7f79a49bff7883db126481f8c8a795aa312e3505.zip |
cosmetics
Diffstat (limited to 'src/database.nim')
-rw-r--r-- | src/database.nim | 2 |
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: |