diff --git a/db.py b/db.py index 1488f7d..2e0306e 100644 --- a/db.py +++ b/db.py @@ -109,7 +109,7 @@ class DB(object): CREATE TABLE IF NOT EXISTS seen_tweets ( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE, user_id INTEGER, - tweet_id TEXT, + tweet_id INTEGER, FOREIGN KEY(user_id) REFERENCES user(id) ); CREATE TABLE IF NOT EXISTS seen_dms (