메시지 테이블 추가

This commit is contained in:
2018-01-21 04:27:08 +09:00
parent f48500dd71
commit 60e7ee5c38
2 changed files with 29 additions and 0 deletions
+6
View File
@@ -49,6 +49,8 @@ if(isTable($connect, "auction", $dbname)) @MYDB_query("drop table auction", $con
if(isTable($connect, "statistic",$dbname)) @MYDB_query("drop table statistic", $connect) or Error("drop ".MYDB_error($connect),"");
// 연감 테이블 삭제
if(isTable($connect, "history",$dbname)) @MYDB_query("drop table history", $connect) or Error("drop ".MYDB_error($connect),"");
// 메시지 테이블 삭제
if(isTable($connect, "message",$dbname)) @MYDB_query("drop table message", $connect) or Error("drop ".MYDB_error($connect),"");
// 관리자 테이블 생성
if(!isTable($connect, "game", $dbname)) @MYDB_query($game_schema, $connect) or Error("create game ".MYDB_error($connect),"");
@@ -75,6 +77,10 @@ if(!isTable($connect, "hall", $dbname)) {
}
}
}
// 메시지 테이블 생성
if(!isTable($connect, "message", $dbname)) {
MYDB_query($message_schema, $connect) or Error("create message ".MYDB_error($connect),"");
}
// 왕조 테이블 생성
if(!isTable($connect, "emperior",$dbname)) @MYDB_query($emperior_schema, $connect) or Error("create emperior ".MYDB_error($connect),"");