Add: maestro_upgrade DB

This commit is contained in:
2018-08-03 07:06:35 +09:00
parent 4a5fbca980
commit d32db6493a
3 changed files with 104 additions and 12 deletions
+11
View File
@@ -20,6 +20,17 @@ CREATE TABLE moty_maestro (
MaestroTestID INT UNSIGNED
);
CREATE TABLE moty_maestro_upgrade (
MaestroUpgradeID INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
RegisteredAccountType INT UNSIGNED NOT NULL,
RequestedAccountType INT UNSIGNED NOT NULL,
RequestedDateTime DATETIME NOT NULL,
Status INT UNSIGNED NOT NULL,
MaestroID INT UNSIGNED NOT NULL,
FOREIGN KEY (MaestroID) REFERENCES moty_maestro(MaestroID)
);
CREATE TABLE moty_player (
PlayerID INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
MaestroID INT UNSIGNED NOT NULL,