sql 파일 정리

This commit is contained in:
2018-03-29 01:43:03 +09:00
parent 9719995f94
commit 0d4f4d06f3
2 changed files with 41 additions and 15 deletions
+41
View File
@@ -0,0 +1,41 @@
#
DROP TABLE IF EXISTS general;
#
DROP TABLE IF EXISTS nation;
#
DROP TABLE IF EXISTS city;
#
DROP TABLE IF EXISTS troop;
#
DROP TABLE IF EXISTS plock;
#
DROP TABLE IF EXISTS game;
#
DROP TABLE IF EXISTS message;
#
#
#
DROP TABLE IF EXISTS diplomacy;
#
DROP TABLE IF EXISTS tournament;
#
DROP TABLE IF EXISTS auction;
#
DROP TABLE IF EXISTS statistic;
#
DROP TABLE IF EXISTS history;
#
DROP TABLE IF EXISTS event;
-15
View File
@@ -342,21 +342,6 @@ create table troop (
PRIMARY KEY (troop)
) ENGINE=INNODB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=UTF8;
###########################################################################
##
###########################################################################
create table token (
token int(6) not null auto_increment,
id char(16) not null,
leader int(3) not null,
power int(3) not null,
intel int(3) not null,
PRIMARY KEY (token),
KEY(id)
) ENGINE=INNODB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=UTF8;
##########################################################################
##
##########################################################################