버그 수정, 반복 도구 강화

This commit is contained in:
2020-05-06 20:56:13 +09:00
parent 30a090004b
commit 253e48694a
3 changed files with 49 additions and 20 deletions
+5
View File
@@ -100,6 +100,11 @@ class ResetHelper{
], true
);
copy(
$servRoot.'/d_setting/GameConst.orig.php',
$servRoot.'/d_setting/GameConst.php',
);
if($mysqli_obj->multi_query(file_get_contents($servRoot.'/sql/reset.sql'))){
while(true){
if (!$mysqli_obj->more_results()) {
+1 -2
View File
@@ -299,8 +299,7 @@ CREATE TABLE IF NOT EXISTS `ng_games` (
`season` INT(11) NOT NULL,
`scenario` INT(11) NOT NULL,
`scenario_name` TEXT NOT NULL,
`env` TEXT NOT NULL CHECK (json_valid(`aux`)),
CHECK (JSON_VALID(`env`)),
`env` TEXT NOT NULL CHECK (json_valid(`env`)),
PRIMARY KEY (`id`),
UNIQUE INDEX `server_id` (`server_id`),
INDEX `date` (`date`)