mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 05:43:12 +01:00
Core/Phases: add table for corpse_phases
- set all phase related fields to unsigned - remove old phaseMask from corpse table
This commit is contained in:
8
sql/updates/characters/2014_10_28_00_characters.sql
Normal file
8
sql/updates/characters/2014_10_28_00_characters.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE `corpse` DROP `phaseMask`;
|
||||
|
||||
DROP TABLE IF EXISTS `corpse_phases`;
|
||||
CREATE TABLE `corpse_phases` (
|
||||
`Guid` int(10) unsigned NOT NULL,
|
||||
`PhaseId` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`Guid`,`PhaseId`)
|
||||
);
|
||||
@@ -4,15 +4,15 @@ DROP TABLE IF EXISTS `terrain_phase_info`;
|
||||
DROP TABLE IF EXISTS `terrain_map_info`;
|
||||
|
||||
CREATE TABLE `terrain_phase_info`(
|
||||
`Id` INT(10) NOT NULL,
|
||||
`TerrainSwapMap` INT(10) NOT NULL,
|
||||
`Id` INT(10) unsigned NOT NULL,
|
||||
`TerrainSwapMap` INT(10) unsigned NOT NULL,
|
||||
`Comment` VARCHAR(255),
|
||||
PRIMARY KEY (`Id`, `TerrainSwapMap`)
|
||||
);
|
||||
|
||||
CREATE TABLE `terrain_map_info`(
|
||||
`MapId` INT(10) NOT NULL,
|
||||
`TerrainSwapMap` INT(10) NOT NULL,
|
||||
`MapId` INT(10) unsigned NOT NULL,
|
||||
`TerrainSwapMap` INT(10) unsigned NOT NULL,
|
||||
`Comment` VARCHAR(255),
|
||||
PRIMARY KEY (`MapId`, `TerrainSwapMap`)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user