From cae2add39e03cf85100b8243022e081818f57ece Mon Sep 17 00:00:00 2001 From: fasiondog Date: Thu, 29 Aug 2024 22:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=BB=98=E8=AE=A4=E5=B8=82?= =?UTF-8?q?=E5=9C=BA=E9=97=AD=E5=B8=82=E6=97=B6=E9=97=B4=EF=BC=8C=E5=BB=B6?= =?UTF-8?q?=E9=95=BF5=E5=88=86=E9=92=9F=EF=BC=8C=E6=94=BE=E5=9C=A8qmt?= =?UTF-8?q?=E7=AD=89=E6=9C=80=E5=90=8E=E8=A1=8C=E6=83=85=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=9C=A815=E7=82=B9=E4=B9=8B=E5=90=8E=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=BB=B6=E8=BF=9F=E6=95=B0=E7=A7=92=E6=89=8D=E6=9C=89=E6=9C=80?= =?UTF-8?q?=E7=BB=88=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hikyuu/data/mysql_upgrade/0020.sql | 4 ++++ hikyuu/data/sqlite_upgrade/0021.sql | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 hikyuu/data/mysql_upgrade/0020.sql create mode 100644 hikyuu/data/sqlite_upgrade/0021.sql diff --git a/hikyuu/data/mysql_upgrade/0020.sql b/hikyuu/data/mysql_upgrade/0020.sql new file mode 100644 index 00000000..8504a27a --- /dev/null +++ b/hikyuu/data/mysql_upgrade/0020.sql @@ -0,0 +1,4 @@ +UPDATE `hku_base`.`market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=1; +UPDATE `hku_base`.`market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=2; +UPDATE `hku_base`.`market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=3; +UPDATE `hku_base`.`version` set `version` = 20; \ No newline at end of file diff --git a/hikyuu/data/sqlite_upgrade/0021.sql b/hikyuu/data/sqlite_upgrade/0021.sql new file mode 100644 index 00000000..0af1b2a6 --- /dev/null +++ b/hikyuu/data/sqlite_upgrade/0021.sql @@ -0,0 +1,6 @@ +BEGIN TRANSACTION; +UPDATE `market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=1; +UPDATE `market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=2; +UPDATE `market` SET `closeTime1`=1135, `closeTime2`=1505 WHERE `marketid`=3; +UPDATE `version` set `version` = 21; +COMMIT; \ No newline at end of file