repaired seen_tweets, this time 4 real
This commit is contained in:
parent
03033d26d7
commit
3b19278774
2
db.py
2
db.py
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue