mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 15:17:27 +01:00
Core/Player: Moved character_template from character to world db
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
DROP TABLE IF EXISTS `character_template`;
|
||||
DROP TABLE IF EXISTS `character_template_class`;
|
||||
16
sql/updates/world/master/2017_01_29_02_world.sql
Normal file
16
sql/updates/world/master/2017_01_29_02_world.sql
Normal 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;
|
||||
Reference in New Issue
Block a user