[DB][CORE][Topgg] Update DB to accommodate Topgg module

This commit is contained in:
Harsha Raghu
2022-01-18 00:10:25 +05:30
parent 36a98b1224
commit 0bb96aeeb2
5 changed files with 107 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ meta = RowTable(
user_config = RowTable(
'user_config',
('userid', 'timezone'),
('userid', 'timezone', 'remaind_upvote'),
'userid',
cache=TTLCache(5000, ttl=60*5)
)

View File

@@ -1,4 +1,4 @@
from data import RowTable
from data.interfaces import RowTable
reminders = RowTable(

View File

@@ -1,4 +1,4 @@
from data.interfaces import RowTable, Table
from data.interfaces import RowTable
topggvotes = RowTable(
'topgg',