Core/Player: Moved character_template from character to world db

This commit is contained in:
joschiwald
2017-01-29 16:09:46 +01:00
parent c8af5de0d3
commit a6d238b833
16 changed files with 232 additions and 196 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
DROP TABLE IF EXISTS `character_template`;
DROP TABLE IF EXISTS `character_template_class`;

View File

@@ -0,0 +1,16 @@
DROP TABLE IF EXISTS `character_template`;
CREATE TABLE IF NOT EXISTS `character_template` (
`Id` int(10) unsigned NOT NULL,
`Name` varchar(70) NOT NULL,
`Description` varchar(100) NOT NULL,
`Level` tinyint(3) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`Id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `character_template_class`;
CREATE TABLE IF NOT EXISTS `character_template_class` (
`TemplateId` int(10) unsigned NOT NULL,
`FactionGroup` tinyint(3) unsigned NOT NULL COMMENT '3 - Alliance, 5 - Horde',
`Class` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`TemplateId`,`FactionGroup`,`Class`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;