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 ( \
|
||||
id INTEGER PRIMARY KEY, \
|
||||
data TEXT, \
|
||||
expiration_date INTEGER, \
|
||||
expiration_date TEXT, \
|
||||
option_id INTEGER, \
|
||||
channel_id INTEGER, \
|
||||
creation_date INTEGER, \
|
||||
user_id INTEGER, \
|
||||
guild_id INTEGER, \
|
||||
channel_id TEXT, \
|
||||
creation_date TEXT, \
|
||||
user_id TEXT, \
|
||||
guild_id TEXT, \
|
||||
locale TEXT \
|
||||
);');
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue