mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-11-29 18:39:10 +08:00
调整mysql/sqlite codepre 配置
This commit is contained in:
parent
8a23b40d42
commit
c291b9a1f0
6
hikyuu/data/mysql_upgrade/0019.sql
Normal file
6
hikyuu/data/mysql_upgrade/0019.sql
Normal file
@ -0,0 +1,6 @@
|
||||
UPDATE `hku_base`.`coderuletype` SET `codepre`=510 WHERE `codepre`=51 AND `marketid`=1;
|
||||
UPDATE `hku_base`.`coderuletype` SET `codepre`=500 WHERE `codepre`=50 AND `marketid`=1;
|
||||
UPDATE `hku_base`.`coderuletype` SET `codepre`=200 WHERE `codepre`=20 AND `marketid`=2;
|
||||
INSERT INTO `hku_base`.`coderuletype` (`marketid`, `codepre`, `type`, `description`) VALUES (1, "56", 5, "上证ETF");
|
||||
INSERT INTO `hku_base`.`coderuletype` (`marketid`, `codepre`, `type`, `description`) VALUES (1, "58", 5, "上证ETF");
|
||||
UPDATE `hku_base`.`version` set `version` = 19;
|
4
hikyuu/data/sqlite_upgrade/0020.sql
Normal file
4
hikyuu/data/sqlite_upgrade/0020.sql
Normal file
@ -0,0 +1,4 @@
|
||||
BEGIN TRANSACTION;
|
||||
UPDATE `coderuletype` SET `codepre`=150 WHERE `codepre`=15 AND `marketid`=2;
|
||||
UPDATE `version` set `version` = 20;
|
||||
COMMIT;
|
Loading…
Reference in New Issue
Block a user