From 7b1910a7a7d50c5d57b1ea81285cf4fe70263eea Mon Sep 17 00:00:00 2001 From: liuxiaoqing Date: Mon, 18 Aug 2025 11:37:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(alibabacloud=5Fsample):=20=E5=9C=A8=20DBSe?= =?UTF-8?q?rvice=20=E4=B8=AD=E6=B7=BB=E5=8A=A0=20desc=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 create_table_sql 中添加 desc 字段,类型为 text -此修改用于扩展数据库表结构,增加描述信息字段 --- alibabacloud_sample/dbservice.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/alibabacloud_sample/dbservice.py b/alibabacloud_sample/dbservice.py index dec4c75..4fecad3 100644 --- a/alibabacloud_sample/dbservice.py +++ b/alibabacloud_sample/dbservice.py @@ -44,7 +44,8 @@ class DBService: cyjgxx text NOT NULL, inspectionAmount text NOT NULL, verify_time text NOT NULL, - file_path text NOT NULL + file_path text NOT NULL, + desc text );""" c = self.get_conn().cursor() c.execute(create_table_sql)