server/sql/updates
tomrus88 3cc7f36006 [8720] Added missing ReqItem 5 and 6 to database.
(backported from commit 7a722b8)
2009-10-24 04:07:57 +04:00
..
0.5 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.6 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.7 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.8 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.9 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.10 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.11 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.12 [7642] Move all 0.12 sql updates to sql/updates/0.12 2009-04-09 04:04:23 +04:00
0.13 [8495] Add absent ; in sql update that can create problems in merged sql update sequence. 2009-09-13 22:19:50 +04:00
7988_01_mangos_item_template.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_02_characters_character_equipmentsets.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_03_mangos_spell_chain.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_04_mangos_creature_template.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_05_mangos_item_template.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_06_mangos_gameobject_template.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_07_characters_characters.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_08_mangos_spell_bonus_data.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
7988_09_mangos_spell_proc_event.sql [7988] Merge branch '310' - Switch to support client version 3.1.3 2009-06-10 21:18:24 +04:00
8016_01_mangos_npc_spellclick_spells.sql [8016] Work at npc click table data use. 2009-06-15 01:01:38 +04:00
8021_01_mangos_spell_proc_event.sql [8021] Implement triggering part of shaman talent 51483 and ranks. 2009-06-15 16:37:32 +04:00
8030_01_characters_character_spell.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8030_02_characters_character_action.sql [8030] Fixed spell 64901 work and related target selection code refactoring. 2009-06-17 01:05:41 +04:00
8030_03_mangos_npc_trainer.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8050_01_mangos_spell_proc_event.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8050_02_mangos_spell_bonus_data.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8053_01_mangos_command.sql [8053] At character talents reset using chat command also reset talents for all character pets. 2009-06-21 00:29:46 +04:00
8060_01_mangos_spell_pet_auras.sql [8060] Fix 56314 and ranks. 2009-06-21 12:33:52 +02:00
8064_01_mangos_spell_chain.sql [8064] Implemented dummy procs for spell 47535 and ranks 2009-06-22 00:22:25 +04:00
8065_01_mangos_spell_proc_event.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8071_01_mangos_command.sql [8071] Restore work .modify tp command. Allow apply it to selected character's pet. 2009-06-23 04:46:13 +04:00
8072_01_characters_characters.sql [8072] First step to get rid of data blob. 2009-06-23 17:51:48 +02:00
8072_02_characters_characters.sql [8072] First step to get rid of data blob. 2009-06-23 17:51:48 +02:00
8098_01_characters_character_action.sql [8107] Fixed sql queries included in [8098]. 2009-07-02 09:22:20 +04:00
8098_02_mangos_playercreateinfo_action.sql [8107] Fixed sql queries included in [8098]. 2009-07-02 09:22:20 +04:00
8098_03_characters_character_pet.sql [8098] Support uint32 spell ids in code. 2009-06-30 11:25:32 +04:00
8098_04_characters_pet_spell.sql [8098] Support uint32 spell ids in code. 2009-06-30 11:25:32 +04:00
8104_01_characters.sql [8104] Always (except 2 cases) for tables in characters DB InnoDB and utf8. 2009-07-01 14:31:42 +04:00
8112_01_mangos_spell_proc_event.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8115_01_mangos_playercreateinfo_action.sql [8115] Replace table contecnt by expected data from mangos.sql 2009-07-04 21:36:16 +04:00
8140_01_mangos_spell_proc_event.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8158_01_mangos_playercreateinfo_action.sql [8158] Update playercreateinfo_action base at UDB data for this table. 2009-07-10 22:24:04 +04:00
8190_01_mangos_creature_template.sql [8190] Update killing quest objectives base at creature_template KillCredit fields. 2009-07-17 03:45:40 +04:00
8191_01_mangos_spell_affect.sql [8191] Drop code related to use long time empty spell_affect table. 2009-07-17 04:29:33 +04:00
8211_01_mangos_spell_proc_event.sql [8211] Correct proc event and internal cooldown for item 42990. 2009-07-20 04:03:15 +04:00
8212_01_mangos_spell_proc_event.sql [8212] spell_proc_event data fixes for spell 18096, 18119, 30293 and ranks. 2009-07-20 04:57:34 +04:00
8213_01_mangos_spell_bonus_data.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8227_01_mangos_spell_proc_event.sql [8227] Fix sql update name and add refs to it to proper places. 2009-07-22 09:00:25 +04:00
8237_01_mangos_creature_template.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8247_01_mangos_spell_bonus_data.sql [8247] Some data for spell_bonus_data for DK spells. 2009-07-25 08:06:30 +04:00
8249_01_mangos_spell_proc_item_enchant.sql [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit. 2009-07-26 04:58:46 +04:00
8249_02_mangos_spell_chain.sql [8249] Implement support spell_proc_item_enchant table for ppm item enchantments triggering at hit. 2009-07-26 04:58:46 +04:00
8250_01_mangos_spell_threat.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8251_01_mangos_spell_chain.sql [8251] Store in some DB tables only data for first rank. 2009-07-26 10:46:36 +04:00
8251_02_mangos_spell_bonus_data.sql [8251] Store in some DB tables only data for first rank. 2009-07-26 10:46:36 +04:00
8251_03_mangos_spell_proc_event.sql [8251] Store in some DB tables only data for first rank. 2009-07-26 10:46:36 +04:00
8253_01_mangos_spell_chain.sql [8254] Internal cooldowns for some item effects. 2009-07-26 20:49:09 +04:00
8253_02_mangos_spell_proc_event.sql [8253] Some spell proc fixes. 2009-07-26 20:33:31 +04:00
8254_01_mangos_spell_proc_event.sql [8254] Internal cooldowns for some item effects. 2009-07-26 20:49:09 +04:00
8294_01_mangos_playercreateinfo_action.sql [8294] Some playercreateinfo_action fixes. Also DK food initial amount fix in code. 2009-08-02 09:44:48 +04:00
8310_01_mangos_spell_proc_event.sql [8310] Implement item set 73/824 (4) bonus. 2009-08-05 01:51:15 +04:00
8332_01_realmd_realmcharacters.sql [8332] Add non-unique key accid for realmcharacters table for speedup queries by this field. 2009-08-09 01:49:59 +04:00
8339_01_characters_characters.sql [8339] Improved storing/restoring BG entry point 2009-08-09 11:00:37 +02:00
8339_02_characters_character_battleground_data.sql [8339] Improved storing/restoring BG entry point 2009-08-09 11:00:37 +02:00
8342_01_mangos_spell_proc_event.sql [8342] Iplement talent 53252 and ranks. 2009-08-09 17:48:12 +04:00
8361_01_mangos_spell_bonus_data.sql [8361] Avoid apply bonuses to item 32262 drain life. 2009-08-13 03:49:48 +04:00
8364_01_mangos_db_version.sql [8364] Implement possibility reset client cache data from server side. 2009-08-13 21:08:36 +04:00
8377_01_mangos_spell_area.sql [8377] Resolve some spell_area problems in GM and non-GM mode. 2009-08-17 00:40:19 +04:00
8392_01_mangos_spell_proc_event.sql [8392] Implement 47569 and ranks work. 2009-08-19 07:05:44 +04:00
8392_02_mangos_spell_chain.sql [8392] Implement 47569 and ranks work. 2009-08-19 07:05:44 +04:00
8394_01_mangos_spell_proc_event.sql [8394] Fixes for some non-self only positive spells. 2009-08-20 00:26:34 +04:00
8397_01_mangos_spell_chain.sql [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +04:00
8397_02_mangos_spell_threat.sql [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +04:00
8397_03_characters_character_spell.sql [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +04:00
8399_01_mangos_spell_elixir.sql [8399] Prevent stacking well fed buffs. 2009-08-21 06:00:08 +04:00
8402_01_characters_guild_eventlog.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8402_02_characters_guild_bank_eventlog.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8409_01_characters_guild.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8412_01_mangos_mangos_string.sql [8412] Update some new and old client supported shift-links to proper format. 2009-08-24 02:44:19 +04:00
8416_01_mangos_spell_learn_spell.sql [8416] Fixed problem with double cast form passives at loading. 2009-08-25 08:45:49 +04:00
8433_01_characters_character_account_data.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8444_01_mangos_mangos_string.sql [8444] Prevent spawn gameobjects with invalid displayid by command. 2009-08-31 23:10:42 +04:00
8451_01_mangos_spell_proc_event.sql [8451] Implement talent 47236 and ranks. 2009-09-02 06:43:00 +04:00
8462_01_mangos_creature_ai_texts.sql [8462] Fix database table to allow emote id bigger than 255 2009-09-04 02:33:24 +02:00
8469_01_characters_character_spell.sql [8469] Fix possible garbage in character_spell after [8416] 2009-09-05 04:36:04 +04:00
8482_01_mangos_spell_elixir.sql [8482] New flasks for 3.x added to spell_elixir. 2009-09-10 05:25:28 +04:00
8487_01_mangos_spell_bonus_data.sql [8487] Fixes in paladin seals and related spells. 2009-09-11 06:08:40 +04:00
8487_02_mangos_spell_proc_event.sql [8491] Add absent empty line to end of sql updates. 2009-09-12 04:17:25 +04:00
8488_01_mangos_spell_chain.sql [8488] Update and add some coeficents for spells in spell_bonus_data. 2009-09-11 22:03:22 +04:00
8488_02_mangos_spell_bonus_data.sql [8488] Update and add some coeficents for spells in spell_bonus_data. 2009-09-11 22:03:22 +04:00
8498_01_mangos_spell_proc_event.sql [8498] Implement talent 53234 and ranks. 2009-09-14 12:20:48 +04:00
8499_01_mangos_spell_elixir.sql [8499] Add data to spell_elixir for absent 3.x elixirs. 2009-09-14 23:47:53 +04:00
8504_01_mangos_playercreateinfo_spell.sql [8504] Update old spell version to spell 21084 in some playercreate_* cases. 2009-09-16 12:48:34 +04:00
8504_02_mangos_playercreateinfo_action.sql [8504] Update old spell version to spell 21084 in some playercreate_* cases. 2009-09-16 12:48:34 +04:00
8505_01_characters_character_spell.sql [8505] Set character spell 16857 active. 2009-09-16 11:05:42 +02:00
8511_01_mangos_spell_proc_event.sql [8511] Limit talent 57472 triggering to only spell spell 17 and ranks as expected. 2009-09-19 19:17:18 +04:00
8514_01_mangos_spell_bonus_data.sql [8514] Impmlement unleashing effect for possitive seals that not have special stored spell id for this. 2009-09-20 20:26:41 +04:00
8521_01_mangos_spell_proc_event.sql [8521] Implement glyph 42744 2009-09-21 17:25:43 +04:00
8548_01_mangos_creature_battleground.sql [8548] implement db supported battleground eventindexes 2009-09-28 16:41:00 +02:00
8548_02_mangos_gameobject_battleground.sql [8548] implement db supported battleground eventindexes 2009-09-28 16:41:00 +02:00
8549_03_mangos_battleground_events.sql [8567] Include DB changes from [8548-8549] into mangos.sql 2009-09-30 02:40:31 +04:00
8573_01_mangos_mangos_string.sql [8573] Fixed sql update name 2009-09-30 20:04:35 +04:00
8589_01_mangos_creature_template.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_02_mangos_gameobject_template.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_03_mangos_item_template.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_04_characters_groups.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_05_mangos_battleground_template.sql [8595] fixed incompatible mysql 2009-10-07 00:31:27 +02:00
8589_06_characters_bugreport.sql [8595] fixed incompatible mysql 2009-10-07 00:31:27 +02:00
8589_07_mangos_spell_elixir.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_08_mangos_item_template.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_09_mangos_spell_chain.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_10_mangos_spell_proc_event.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8589_11_characters_characters.sql [8589] Merge branch '320' - Switch to support client version 3.2.2A 2009-10-06 12:59:26 +04:00
8596_01_characters_bugreport.sql [8596] fixed query from last commit 2009-10-07 01:00:42 +02:00
8600_01_mangos_command.sql [8600] allow unbinding instances also per map 2009-10-08 00:46:55 +02:00
8607_01_mangos_string.sql [8607] more userfriendly eventcommands 2009-10-09 14:38:58 +02:00
8607_02_mangos_command.sql [8607] more userfriendly eventcommands 2009-10-09 14:38:58 +02:00
8608_01_mangos_mangos_string.sql [8608] implement BattleGround Alterac Valley 2009-10-09 18:18:22 +02:00
8608_02_mangos_battleground_events.sql [8608] implement BattleGround Alterac Valley 2009-10-09 18:18:22 +02:00
8618_01_mangos_spell_proc_event.sql [8618] Implement glyph 42752 2009-10-10 17:26:37 +04:00
8676_01_mangos_creature_template.sql [8676] implemented dead-visible creature flags_extra 2009-10-18 21:28:36 +02:00
8688_01_mangos_creature_template.sql [8688] proper implementation of creatures ghost-flags 2009-10-20 23:34:13 +02:00
8693_01_mangos_spell_proc_event.sql [8693] Fixed glyph 45785 2009-10-20 23:54:34 +02:00
8702_01_characters_character_reputation.sql [8702] removed startup-error for creature_loot_template id=0 2009-10-21 23:32:45 +02:00
8720_01_mangos_quest_template.sql [8720] Added missing ReqItem 5 and 6 to database. 2009-10-24 04:07:57 +04:00
Makefile.am [8720] Added missing ReqItem 5 and 6 to database. 2009-10-24 04:07:57 +04:00
README [7231] Some info to sql updates commiters in slq/update/README 2009-02-05 23:01:00 +03:00

= MaNGOS -- README =

Copyright (c) 2005-2009 MaNGOS <http://getmangos.com/>

See the COPYING file for copying conditions.

== Database Updates ==
This folder contains SQL files which will apply required updates to your MySQL
database, whenever the MaNGOS database structure has been changed or extended.

To see if you need an update, the file names have been given a fixed structure
that should enable you to see if you need an update or not.

=== File name descriptin ===
File names are divided into two parts. First part is the revision+counter
that show commit revision that will be compatible with database after apply update.
Counter set order in sql updates apply for same revision.
The second part of the name of the database and the table that needs and update or has been added.
See an example below:

         6936_01_mangos_spell_chain.sql
         |    |  |      |
         |    |  |      |
         |    |  |      The table `spell_chain`
         |    |  |      will need an update.
         |    |  |
         |    |  Name of affected DB (default recommended name)
         |    |  Can be: characters, mangos, realmd
         |    |
         |    Counter show number of sql update in updates list for provided revision
         |    and set proper order for sql updates for same revision
         |
         MaNGOS commit revison related to sql update.
         It included in commit description in form [6936] as you can see at http://github.com/mangos/mangos/commits/master

After appling this update DB compatiable with database that include this sql update.
SQL update include special protection against multiply and wrong order SQL updates apply.
So attempt apply sql update to more old DB without previous SQL update in list for targeted database
or to DB with already applied this or later SQL update will generate error and not applied.

=== For commiters ====

MaNGOS sources include special tool ( contrib/git_id ) for generation revision info
in commit notes and in src/shared/revision_nr.h file. It have option '-s' that let set
correct sql update names with revision number, generate sql update order guard queries,
and update version fields in mangos.sql/etc. For it use name sql updates in form
01_mangos_spell_chain.sql or 9999_01_mangos_spell_chain.sql (counter can be _01_, _02_, and etc,
dependent from sql updates amount in commit) and _not_ add to sql updates
guard queries. Include sql updates in commit. After commit adding to local repo call git_id
with -s option (and another, note: -s option not work propertly with -l option). Other steps
tool will do by self and apply changes to commit. After tool use commit with sql updates ready
to push.