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:
1 parent
dc9ff5260b
commit
9b8b644569
2 files changed
+12
-4
No files matched your search
@@ -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