From ba88559ab3c95a65bbe4eff33ccf913ed706fe6a Mon Sep 17 00:00:00 2001 From: lloydzhou Date: Wed, 3 Jan 2024 12:39:39 +0800 Subject: [PATCH] add platform field for code_application --- server/model/schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/model/schema.py b/server/model/schema.py index 691c504c..ac7aa09e 100644 --- a/server/model/schema.py +++ b/server/model/schema.py @@ -201,6 +201,7 @@ class CodeApplication(Base): team_id = db.Column( ObjID(12), ForeignKey("team.id"), nullable=True, comment="属于哪一个组" ) + platform = db.Column(db.String(128), nullable=True, comment="平台:github") installation_id = db.Column(db.String(128), nullable=True, comment="安装id") extra = db.Column( JSONStr(1024), nullable=True, server_default=text("'{}'"), comment="其他字段"