repaired seen_tweets, this time 4 real

This commit is contained in:
b3yond 2018-09-24 22:14:17 +02:00
parent 03033d26d7
commit 3b19278774

2
db.py
View file

@ -109,7 +109,7 @@ class DB(object):
CREATE TABLE IF NOT EXISTS seen_tweets ( CREATE TABLE IF NOT EXISTS seen_tweets (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE, id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
user_id INTEGER, user_id INTEGER,
tweet_id TEXT, tweet_id INTEGER,
FOREIGN KEY(user_id) REFERENCES user(id) FOREIGN KEY(user_id) REFERENCES user(id)
); );
CREATE TABLE IF NOT EXISTS seen_dms ( CREATE TABLE IF NOT EXISTS seen_dms (