SQL: Sorted out temporary names and added missing statements

This commit is contained in:
Shauren
2014-06-08 13:02:16 +02:00
parent 6eee75a4f7
commit 372f043a68
3 changed files with 7 additions and 1 deletions

View File

@@ -46,8 +46,10 @@ CREATE TABLE `account` (
`locale` tinyint(3) unsigned NOT NULL DEFAULT '0',
`os` varchar(3) NOT NULL DEFAULT '',
`recruiter` int(10) unsigned NOT NULL DEFAULT '0',
`battlenet_account` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`)
UNIQUE KEY `idx_username` (`username`),
CONSTRAINT `fk_bnet_acc` FOREIGN KEY (`battlenet_account`) REFERENCES `battlenet_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Account System';
/*!40101 SET character_set_client = @saved_cs_client */;