server/sql/updates
2009-08-21 03:05:21 +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 [8333] Move sql updates related to 0.13 release to sql/updates/0.13 2009-08-09 02:31:38 +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 [8030] Fixed spell 64901 work and related target selection code refactoring. 2009-06-17 01:05:41 +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 [8034] Fixed sql/updates/8030_03_mangos_npc_trainer.sql. 2009-06-17 18:40:03 +04:00
8050_01_mangos_spell_proc_event.sql [8050] Fixed healing from spell 63108. 2009-06-20 02:52:11 +02:00
8050_02_mangos_spell_bonus_data.sql [8050] Fixed healing from spell 63108. 2009-06-20 02:52:11 +02: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 [8065] Remove outdated data in spell_proc_event. 2009-06-22 00:44:07 +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 [8112] Fixed proc conditions for 63156 and ranks 2009-07-04 11:41:38 +02: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 [8140] Fixed dummy spell proc for 31876 and ranks. 2009-07-07 00:53:55 +02: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 [8213] Update code for talent 17962. 2009-07-20 06:14:57 +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 [8237] Apply attack power multiplier to creature bonus attackpower. 2009-07-24 16:55:37 +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 [8250] Cleanup code and data for spell_threat 2009-07-26 05:49:17 +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
Makefile.am [8398] Restore proper line-ends in touched sql files. 2009-08-21 03:05:21 +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.