From 33dac9e4c63bb767977d3d15d5e44726415110c4 Mon Sep 17 00:00:00 2001 From: thindil Date: Tue, 24 Oct 2023 04:51:53 +0000 Subject: [PATCH] refactor: removed unneeded upgrade FossilOrigin-Name: a85bd4e32dcc0e9080768e32d2dad8953a6147e5e25c9df5e8bc2c752a1f5ef3 --- src/aliases.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/aliases.nim b/src/aliases.nim index c68e9b07..a1e8e576 100644 --- a/src/aliases.nim +++ b/src/aliases.nim @@ -766,8 +766,6 @@ proc updateAliasesDb*(db; dbVersion: Natural): ResultCode {.gcsafe, sideEffect, try: if dbVersion < 3: db.exec(query = sql(query = """ALTER TABLE aliases ADD output TEXT NOT NULL""")) - if dbVersion < 4: - db.exec(query = sql(query = """ALTER TABLE aliases ADD id INTEGER""")) except DbError: return showError(message = "Can't update table for the shell's aliases. Reason: ", e = getCurrentException())