From 1075b458aaa4ac97cd1463bd9ec26c750c3c8f47 Mon Sep 17 00:00:00 2001 From: John Smith Date: Fri, 3 Jun 2022 13:47:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E4=B8=ADuid?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=94=B9=E6=88=90BigInteger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/bilibili.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/bilibili.py b/models/bilibili.py index 28a38e4..fa92497 100644 --- a/models/bilibili.py +++ b/models/bilibili.py @@ -6,6 +6,6 @@ import models.database class BilibiliUser(models.database.OrmBase): __tablename__ = 'bilibili_users' - uid = sqlalchemy.Column(sqlalchemy.Integer, primary_key=True) + uid = sqlalchemy.Column(sqlalchemy.BigInteger, primary_key=True) # 创建表后最好手动改成unsigned avatar_url = sqlalchemy.Column(sqlalchemy.String(100)) update_time = sqlalchemy.Column(sqlalchemy.DateTime)