[8595] fixed incompatible mysql

in 8589_06 i got an error:
ERROR 1170 (42000) at line 2: BLOB/TEXT column 'type' used in key specification without a key length

also added delete-queries for 8589_05
This commit is contained in:
balrok 2009-10-07 00:30:15 +02:00
parent 793102318e
commit 6800ae932b
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_8589_03_mangos_item_template required_8589_05_mangos_battleground_template bit;
delete from battleground_template where id in(30, 32);
insert into `battleground_template`(`id`,`MinPlayersPerTeam`,`MaxPlayersPerTeam`,`MinLvl`,`MaxLvl`,`AllianceStartLoc`,`AllianceStartO`,`HordeStartLoc`,`HordeStartO`) values (30,20,40,71,80,1485,0,1486,0);
insert into `battleground_template`(`id`,`MinPlayersPerTeam`,`MaxPlayersPerTeam`,`MinLvl`,`MaxLvl`,`AllianceStartLoc`,`AllianceStartO`,`HordeStartLoc`,`HordeStartO`) values (32,0,40,0,80,0,0,0,0);

View file

@ -1,5 +1,4 @@
ALTER TABLE character_db_version CHANGE COLUMN required_8589_04_characters_groups required_8589_06_characters_bugreport bit;
alter table `characters`.`bugreport`
change `type` `type` longtext NOT NULL,
change `content` `content` longtext NOT NULL;
ALTER TABLE `bugreport` CHANGE `content` `content` LONGTEXT;
ALTER TABLE `bugreport` CHANGE `type` `type` LONGTEXT;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8594"
#define REVISION_NR "8595"
#endif // __REVISION_NR_H__