fix twt user id length
This commit is contained in:
parent
03689c9b0a
commit
8ddfdf0639
@ -7,7 +7,7 @@ class TwitterAccount(twitter_db.Model):
|
||||
__tablename__ = 'twitter_account'
|
||||
|
||||
account_id = twitter_db.Column(twitter_db.Integer, primary_key=True)
|
||||
twitter_user_id = twitter_db.Column(twitter_db.String(16), unique=True, nullable=False)
|
||||
twitter_user_id = twitter_db.Column(twitter_db.String(32), unique=True, nullable=False)
|
||||
username = twitter_db.Column(twitter_db.String(16), unique=True, nullable=False)
|
||||
access_token = twitter_db.Column(twitter_db.String(256), nullable=False)
|
||||
access_token_secret = twitter_db.Column(twitter_db.String(256), nullable=False)
|
||||
|
Loading…
Reference in New Issue
Block a user