diff options
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: |