server/sql/updates/09974_01_characters_group.sql
VladimirMangos cd5d598bd6 [10001] Rename current version sql updates (0.16/root dir) to 5 digits format rev.
* order guards not affected in sql updates so this not affect sql guards work.
* TO DEVS: in next sql update commit please check carefully generated by git_is -s
  sql guards for correctness
2010-05-28 23:48:50 +04:00

8 lines
No EOL
327 B
SQL

ALTER TABLE character_db_version CHANGE COLUMN required_9849_01_characters_saved_variables required_9974_01_characters_group bit;
ALTER TABLE groups
CHANGE COLUMN isRaid groupType tinyint(1) unsigned NOT NULL;
/* now fixed bug in past can save raids as 1 (BG group) */
UPDATE groups
SET groupType = 2 WHERE groupType = 1;