Add: check player name, enterCode before add player
This commit is contained in:
@@ -6,7 +6,7 @@ CREATE TABLE moty_maestro (
|
||||
AccountType INT UNSIGNED NOT NULL,
|
||||
ActivateStatus INT UNSIGNED NOT NULL,
|
||||
AvailableActivateDateTime DATETIME NOT NULL,
|
||||
UserCount INT UNSIGNED NOT NULL,
|
||||
PlayerCount INT UNSIGNED NOT NULL,
|
||||
AcceptClausesDateTime DATETIME NOT NULL,
|
||||
MaestroTestID INT UNSIGNED
|
||||
);
|
||||
@@ -52,7 +52,7 @@ CREATE TABLE moty_best_record (
|
||||
|
||||
FOREIGN KEY (MaestroID) REFERENCES moty_maestro(MaestroID),
|
||||
FOREIGN KEY (AppID) REFERENCES moty_app(AppID),
|
||||
FOREIGN KEY (UserID) REFERENCES moty_user(UserID)
|
||||
FOREIGN KEY (PlayerID) REFERENCES moty_player(PlayerID)
|
||||
);
|
||||
|
||||
CREATE TABLE moty_ranking (
|
||||
@@ -65,5 +65,5 @@ CREATE TABLE moty_ranking (
|
||||
|
||||
FOREIGN KEY (MaestroID) REFERENCES moty_maestro(MaestroID),
|
||||
FOREIGN KEY (AppID) REFERENCES moty_app(AppID),
|
||||
FOREIGN KEY (UserID) REFERENCES moty_user(UserID)
|
||||
FOREIGN KEY (PlayerID) REFERENCES moty_player(PlayerID)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user