history 타입들을 text에서 mediumtext로 변경

시나리오 생성 시 장수수 처리 수정
This commit is contained in:
2018-04-01 23:31:37 +09:00
parent e1f646daa5
commit a70bf667a4
6 changed files with 32 additions and 9 deletions
+3
View File
@@ -176,6 +176,9 @@ function getWorldHistoryWithDate($year, $month) {
function pushGeneralPublicRecord(array $history, $year=null, $month=null) {
if(!$history){
return;
}
$db = DB::db();
if($year === null || $month === null){
$game = $db->queryFirstRow('SELECT year, month FROM game LIMIT 1');