명전 테이블에 unique index가 안걸려있던 버그 수정

This commit is contained in:
2018-04-23 01:21:05 +09:00
parent a4beab86c2
commit b3cd29ac95
+2 -1
View File
@@ -437,7 +437,8 @@ create table if not exists hall (
color char(12) default '',
picture char(32) default '',
PRIMARY KEY (no)
PRIMARY KEY (no),
UNIQUE INDEX `type` (`type`, `rank`)
) ENGINE=INNODB ROW_FORMAT=DYNAMIC DEFAULT CHARSET=utf8mb4;
###########################################################################