From 2953f4668c062373fe47c9230be8c7098afd66fa Mon Sep 17 00:00:00 2001 From: fasiondog Date: Thu, 18 Apr 2024 15:22:40 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E6=96=B0=E5=A2=9E=E7=9A=84=E5=8C=97?= =?UTF-8?q?=E4=BA=A4=E6=89=80=E8=82=A1=E7=A5=A8=E7=B1=BB=E5=9E=8B=E8=BF=98?= =?UTF-8?q?=E6=98=AFA=E8=82=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hikyuu/data/mysql_upgrade/0014.sql | 3 +++ hikyuu/data/sqlite_upgrade/0015.sql | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 hikyuu/data/mysql_upgrade/0014.sql create mode 100644 hikyuu/data/sqlite_upgrade/0015.sql diff --git a/hikyuu/data/mysql_upgrade/0014.sql b/hikyuu/data/mysql_upgrade/0014.sql new file mode 100644 index 00000000..fc6bf3f2 --- /dev/null +++ b/hikyuu/data/mysql_upgrade/0014.sql @@ -0,0 +1,3 @@ +UPDATE `hku_base`.`stock` set `type`=11 where `marketid`=3; +UPDATE `hku_base`.`coderuletype` set `type`=11 where `marketid`=3; +UPDATE `hku_base`.`version` set `version` = 14; \ No newline at end of file diff --git a/hikyuu/data/sqlite_upgrade/0015.sql b/hikyuu/data/sqlite_upgrade/0015.sql new file mode 100644 index 00000000..6af49a66 --- /dev/null +++ b/hikyuu/data/sqlite_upgrade/0015.sql @@ -0,0 +1,7 @@ +BEGIN TRANSACTION; + +UPDATE `Stock` set `type`=11 where `marketid`=3; +UPDATE `CodeRuleType` set `type`=11 where `marketid`=3; +UPDATE `version` set `version` = 15; + +COMMIT; \ No newline at end of file