부대 번호를 부대장 ID로 변경

This commit is contained in:
2019-04-28 20:50:25 +09:00
parent e21fbaff83
commit 6423c22cf8
12 changed files with 49 additions and 77 deletions
+6 -8
View File
@@ -286,14 +286,12 @@ CREATE TABLE `city` (
##
###########################################################################
create table troop (
troop int(6) not null auto_increment,
name char(64) not null,
nation int(6) not null,
no int(6) not null,
PRIMARY KEY (troop)
) ENGINE=INNODB DEFAULT CHARSET=utf8mb4;
CREATE TABLE `troop` (
`troop_leader` INT(6) NOT NULL,
`nation` INT(6) NOT NULL,
`name` VARCHAR(50) NOT NULL,
PRIMARY KEY (`troop_leader`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;
##########################################################################
##