use text instead of integer for long integers

This commit is contained in:
Mylloon 2023-01-09 17:21:35 +01:00
parent 4e38df8cc8
commit 44adad28a9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -60,12 +60,12 @@ const initDatabase = (db: Database) => {
db.run('CREATE TABLE IF NOT EXISTS reminder ( \ db.run('CREATE TABLE IF NOT EXISTS reminder ( \
id INTEGER PRIMARY KEY, \ id INTEGER PRIMARY KEY, \
data TEXT, \ data TEXT, \
expiration_date INTEGER, \ expiration_date TEXT, \
option_id INTEGER, \ option_id INTEGER, \
channel_id INTEGER, \ channel_id TEXT, \
creation_date INTEGER, \ creation_date TEXT, \
user_id INTEGER, \ user_id TEXT, \
guild_id INTEGER, \ guild_id TEXT, \
locale TEXT \ locale TEXT \
);'); );');
}; };