mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[9002] Make 8923_01_mangos_gossip.sql more propertly work
if rename target table exist by some reason.
This commit is contained in:
parent
11f0086b77
commit
a204201e81
2 changed files with 2 additions and 1 deletions
|
|
@ -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 DROP PRIMARY KEY;
|
||||||
ALTER TABLE locales_npc_option ADD PRIMARY KEY (menu_id, id);
|
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;
|
RENAME TABLE locales_npc_option TO locales_gossip_menu_option;
|
||||||
|
|
||||||
DROP TABLE IF EXISTS npc_option;
|
DROP TABLE IF EXISTS npc_option;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9001"
|
#define REVISION_NR "9002"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue