entropy.db: update databaseStructureUpdates, make it always creating
the new "source" column on installedtable if the latter is present
This commit is contained in:
@@ -3686,10 +3686,9 @@ class LocalRepository:
|
||||
(self.dbname == etpConst['clientdbid']):
|
||||
self.createInstalledTable()
|
||||
|
||||
if self.dbname == etpConst['clientdbid']:
|
||||
if not self.doesColumnInTableExist("installedtable",
|
||||
"source"):
|
||||
self.createInstalledTableSource()
|
||||
if self.doesTableExist("installedtable") and \
|
||||
not self.doesColumnInTableExist("installedtable","source"):
|
||||
self.createInstalledTableSource()
|
||||
|
||||
if not self.doesTableExist("categoriesdescription"):
|
||||
self.createCategoriesdescriptionTable()
|
||||
|
||||
Reference in New Issue
Block a user