Twitter: twitter_settings shouldn't have a primary key
This commit is contained in:
parent
8b2269c441
commit
f895867b86
|
@ -102,7 +102,7 @@ class Twitter(Module):
|
||||||
cur = db.cursor(mdb.cursors.DictCursor)
|
cur = db.cursor(mdb.cursors.DictCursor)
|
||||||
cur.execute("""
|
cur.execute("""
|
||||||
CREATE TABLE twitter_settings (
|
CREATE TABLE twitter_settings (
|
||||||
since_id SERIAL,
|
since_id BIGINT(20) UNSIGNED NOT NULL,
|
||||||
output_channel VARCHAR(64) NOT NULL,
|
output_channel VARCHAR(64) NOT NULL,
|
||||||
oauth_token VARCHAR(256) DEFAULT NULL,
|
oauth_token VARCHAR(256) DEFAULT NULL,
|
||||||
oauth_token_secret VARCHAR(256) DEFAULT NULL
|
oauth_token_secret VARCHAR(256) DEFAULT NULL
|
||||||
|
|
Loading…
Reference in New Issue