From 1c9d66fa54237624c23800ffff497d71991d9f11 Mon Sep 17 00:00:00 2001 From: jjz <3082705704@qq.com> Date: Thu, 9 Oct 2025 16:37:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9ci/cd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/scripts/gui_version_creator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/scripts/gui_version_creator.py b/.gitea/scripts/gui_version_creator.py index dea9103..e371a83 100644 --- a/.gitea/scripts/gui_version_creator.py +++ b/.gitea/scripts/gui_version_creator.py @@ -167,7 +167,7 @@ class DatabaseVersionManager: try: cursor = self.conn.cursor() cursor.execute(""" - SELECT version FROM web_versionhistory + SELECT version FROM web_version_history WHERE type = '水滴智能通讯插件' AND is_delete = FALSE ORDER BY release_time DESC LIMIT 1 """) @@ -211,7 +211,7 @@ class DatabaseVersionManager: try: cursor = self.conn.cursor() cursor.execute(""" - SELECT version FROM web_versionhistory + SELECT version FROM web_version_history WHERE content LIKE %s AND type = '水滴智能通讯插件' ORDER BY release_time DESC LIMIT 1 """, (f'%{commit_id}%',)) @@ -236,7 +236,7 @@ class DatabaseVersionManager: cursor = self.conn.cursor() cursor.execute(""" - INSERT INTO web_versionhistory + INSERT INTO web_version_history (version, type, content, download_url, release_time, is_delete) VALUES (%s, %s, %s, %s, %s, %s) RETURNING id