This commit is contained in:
2024-11-17 15:45:21 +08:00
parent 3e071716a8
commit 838a91c83a

2
db.py
View File

@@ -46,6 +46,8 @@ class CwmDb:
self.__write_version()
if 'key' not in self._exist_tables:
self._db.execute(KEY_TABLE)
if 'division' not in self._exist_tables:
self._db.execute(DIVISION_TABLE)
self._db.commit()
def __write_version(self):