pushHistory를 DB기반으로 변경

This commit is contained in:
2018-04-01 05:18:17 +09:00
parent d062fac671
commit 74390602d8
22 changed files with 125 additions and 98 deletions
+15 -1
View File
@@ -605,4 +605,18 @@ CREATE TABLE `event` (
PRIMARY KEY (`id`)
)
DEFAULT CHARSET=utf8mb4
ENGINE=InnoDB;
ENGINE=InnoDB;
##
CREATE TABLE `full_history` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`year` INT(4) NOT NULL,
`month` INT(2) NOT NULL,
`text` TEXT NOT NULL,
PRIMARY KEY (`id`),
INDEX `date` (`year`, `month`, `id`)
)
DEFAULT CHARSET=utf8mb4
ENGINE=InnoDB
;