WIP: full refactor

This commit is contained in:
norohind committed 2021-12-05 23:21:07 +03:00
1 parent bbeec2e3fe
commit 226382f28a
6 files changed
+90 -6

No files matched your search

+4
View File
@@ -115,3 +115,7 @@ class Model:
def list_all_records(self) -> list:
return self.db.execute(sqlite_requests.select_nickname_state_all).fetchall()
def cleanup_orphans_records(self) -> None:
with self.db:
self.db.execute(sqlite_requests.del_orphans)