entropy.db: trashedcounters table now mandatory

This commit is contained in:
Fabio Erculiani
2009-05-30 21:55:11 +02:00
parent e017bc0184
commit c35497d7b0
-7
View File
@@ -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;')