mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Now db script command strings stored in `db_script_string (mangos_string like table). Text field `datatext` replace by int field `dataint` that store index in `db_script_string` table. Indexes must be 2000000000+ (for avoid conflicts with mangos_string indexes). Changes required DB support and SCRIPT_COMMAND_TALK will not work with old data until fixing in DB.
21 lines
622 B
SQL
21 lines
622 B
SQL
ALTER TABLE db_version CHANGE COLUMN required_2008_11_11_01_mangos_db_script_string required_2008_11_11_02_mangos_scripts bit;
|
|
|
|
ALTER TABLE event_scripts
|
|
DROP datatext,
|
|
ADD COLUMN dataint int(11) NOT NULL default '0';
|
|
|
|
ALTER TABLE gameobject_scripts
|
|
DROP datatext,
|
|
ADD COLUMN dataint int(11) NOT NULL default '0';
|
|
|
|
ALTER TABLE quest_end_scripts
|
|
DROP datatext,
|
|
ADD COLUMN dataint int(11) NOT NULL default '0';
|
|
|
|
ALTER TABLE quest_start_scripts
|
|
DROP datatext,
|
|
ADD COLUMN dataint int(11) NOT NULL default '0';
|
|
|
|
ALTER TABLE spell_scripts
|
|
DROP datatext,
|
|
ADD COLUMN dataint int(11) NOT NULL default '0';
|