From 2632a895c814721a678d019ca8dd9495cf24a97e Mon Sep 17 00:00:00 2001 From: CharlesDDDD <10185101155@stu.ecnu.edu.cn> Date: Tue, 12 Jan 2021 09:40:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86block=E8=A1=A8=E7=9A=84type=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=8F=98=E6=88=90string(255)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APP/view/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APP/view/model.py b/APP/view/model.py index 3b4860e..1422dbf 100644 --- a/APP/view/model.py +++ b/APP/view/model.py @@ -37,7 +37,7 @@ class Block(Base): id = Column(String(255), primary_key=True) content_text = Column(String(255)) content_pic = Column(BLOB) - type = Column(Integer) + type = Column(String(255)) order = Column(Integer) # type = Column(String(255))