mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
This commit is contained in:
parent
d767495d5b
commit
800ee76535
3322 changed files with 903437 additions and 0 deletions
34
sql/updates/6362_characters.sql
Normal file
34
sql/updates/6362_characters.sql
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
TRUNCATE `character_instance`;
|
||||
TRUNCATE `instance`;
|
||||
|
||||
ALTER TABLE `character_instance`
|
||||
DROP KEY `leader`,
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY `guid` (`guid`,`instance`),
|
||||
DROP COLUMN `map`,
|
||||
DROP COLUMN `leader`,
|
||||
MODIFY COLUMN `instance` int(11) unsigned NOT NULL default '0',
|
||||
ADD COLUMN `permanent` tinyint(1) unsigned NOT NULL default '0';
|
||||
|
||||
ALTER TABLE `instance`
|
||||
ADD COLUMN `difficulty` tinyint(1) unsigned NOT NULL default '0' AFTER `resettime`;
|
||||
|
||||
CREATE TABLE `group_instance` (
|
||||
`leaderGuid` int(11) unsigned NOT NULL default '0',
|
||||
`instance` int(11) unsigned NOT NULL default '0',
|
||||
`permanent` tinyint(1) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (`leaderGuid`,`instance`),
|
||||
KEY `instance` (`instance`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
CREATE TABLE `instance_reset` (
|
||||
`mapid` int(11) unsigned NOT NULL default '0',
|
||||
`resettime` bigint(40) NOT NULL default '0',
|
||||
PRIMARY KEY (`mapid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `groups`
|
||||
ADD COLUMN `difficulty` tinyint(3) unsigned NOT NULL default '0' AFTER `isRaid`;
|
||||
|
||||
ALTER TABLE `characters`
|
||||
ADD COLUMN `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `map`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue