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