use text instead of integer for long integers
This commit is contained in:
parent
4e38df8cc8
commit
44adad28a9
1 changed files with 5 additions and 5 deletions
|
@ -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 \
|
||||||
);');
|
);');
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue