[9002] Make 8923_01_mangos_gossip.sql more propertly work

if rename target table exist by some reason.
This commit is contained in:
VladimirMangos 2009-12-16 16:08:51 +03:00
parent 11f0086b77
commit a204201e81
2 changed files with 2 additions and 1 deletions

View file

@ -66,6 +66,7 @@ ALTER TABLE locales_npc_option ADD menu_id smallint(6) unsigned NOT NULL default
ALTER TABLE locales_npc_option DROP PRIMARY KEY;
ALTER TABLE locales_npc_option ADD PRIMARY KEY (menu_id, id);
DROP TABLE IF EXISTS locales_gossip_menu_option;
RENAME TABLE locales_npc_option TO locales_gossip_menu_option;
DROP TABLE IF EXISTS npc_option;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9001"
#define REVISION_NR "9002"
#endif // __REVISION_NR_H__