entropy.db: trashedcounters table now mandatory
This commit is contained in:
@@ -3809,9 +3809,6 @@ class LocalRepository:
|
||||
(self.dbname == etpConst['clientdbid']):
|
||||
self.createLicensesAcceptedTable()
|
||||
|
||||
if not self.doesTableExist("trashedcounters"):
|
||||
self.createTrashedcountersTable()
|
||||
|
||||
if not self.doesTableExist("counters"):
|
||||
self.createCountersTable()
|
||||
|
||||
@@ -4589,10 +4586,6 @@ class LocalRepository:
|
||||
with self.__write_mutex:
|
||||
self.cursor.execute('CREATE TABLE licenses_accepted ( licensename VARCHAR UNIQUE );')
|
||||
|
||||
def createTrashedcountersTable(self):
|
||||
with self.__write_mutex:
|
||||
self.cursor.execute('CREATE TABLE trashedcounters ( counter INTEGER );')
|
||||
|
||||
def createInstalledTable(self):
|
||||
with self.__write_mutex:
|
||||
self.cursor.execute('DROP TABLE IF EXISTS installedtable;')
|
||||
|
||||
Reference in New Issue
Block a user