Skip to content

Commit

Permalink
添加2022年假日
Browse files Browse the repository at this point in the history
  • Loading branch information
fasiondog committed Jan 31, 2022
1 parent 5f7007e commit 31b4b17
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
21 changes: 21 additions & 0 deletions hikyuu/data/mysql_upgrade/0007.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
INSERT INTO `hku_base`.`CodeRuleType` (`id`,`marketid`,`codepre`,`type`,`description`) VALUES (34,2,'301',8,'创业板');
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220103);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220131);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220201);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220202);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220203);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220204);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220205);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220404);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220405);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220502);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220503);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220504);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220603);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20220912);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20221003);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20221004);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20221005);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20221006);
INSERT INTO `hku_base`."Holiday" (`date`) VALUES (20221007);
UPDATE `hku_base`.`version` set `version` = 7;
22 changes: 22 additions & 0 deletions hikyuu/data/sqlite_upgrade/0008.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
BEGIN TRANSACTION;
INSERT INTO "Holiday" (`date`) VALUES (20220103);
INSERT INTO "Holiday" (`date`) VALUES (20220131);
INSERT INTO "Holiday" (`date`) VALUES (20220201);
INSERT INTO "Holiday" (`date`) VALUES (20220202);
INSERT INTO "Holiday" (`date`) VALUES (20220203);
INSERT INTO "Holiday" (`date`) VALUES (20220204);
INSERT INTO "Holiday" (`date`) VALUES (20220205);
INSERT INTO "Holiday" (`date`) VALUES (20220404);
INSERT INTO "Holiday" (`date`) VALUES (20220405);
INSERT INTO "Holiday" (`date`) VALUES (20220502);
INSERT INTO "Holiday" (`date`) VALUES (20220503);
INSERT INTO "Holiday" (`date`) VALUES (20220504);
INSERT INTO "Holiday" (`date`) VALUES (20220603);
INSERT INTO "Holiday" (`date`) VALUES (20220912);
INSERT INTO "Holiday" (`date`) VALUES (20221003);
INSERT INTO "Holiday" (`date`) VALUES (20221004);
INSERT INTO "Holiday" (`date`) VALUES (20221005);
INSERT INTO "Holiday" (`date`) VALUES (20221006);
INSERT INTO "Holiday" (`date`) VALUES (20221007);
UPDATE `version` set `version` = 8;
COMMIT;

0 comments on commit 31b4b17

Please sign in to comment.