server/sql/updates
VladimirMangos 9a30dbac89 [9768] Fixed my last sec. fix problem :/
Also make $/# in consistence in new command help texts.
2010-04-20 22:39:25 +04:00
..
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
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
0.14 [9348] Move mangos 0.14/0.15 sql updates in archive subdirs. 2010-02-10 11:10:40 +03:00
0.15 [9383] Move back from archive subdir 9010_01_realmd_realmlist.sql 2010-02-14 18:39:40 +03:00
9010_01_realmd_realmlist.sql [9383] Move back from archive subdir 9010_01_realmd_realmlist.sql 2010-02-14 18:39:40 +03:00
9136_01_characters_account_data.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_02_mangos_quest_poi.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_03_characters_character_ticket.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_04_mangos_spell_chain.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_05_mangos_spell_bonus_data.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_06_mangos_spell_proc_event.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9136_07_characters_characters.sql [9136] Merge branch '330' - Switch to support client version 3.3.0A 2010-01-10 07:29:44 +03:00
9148_01_mangos_spell_bonus_data.sql [9148] Revert "[9042] Remove double apply bonuses for spell 635/31935 and ranks" 2010-01-12 00:15:40 +03:00
9149_01_mangos_spell_bonus_data.sql [9149] Drop code and DB data for removed 31892/53720 and related spells. 2010-01-12 01:08:17 +03:00
9150_01_mangos_spell_bonus_data.sql [9150] Fixed some paladin spell bonuses 2010-01-12 02:30:15 +03:00
9153_01_mangos_spell_bonus_data.sql [9153] Use in code heal amount calculation for 20165. 2010-01-12 06:00:01 +03:00
9155_01_mangos_spell_proc_event.sql [9155] Update spell_proc_event for spell 20375, 21084, 31801. 2010-01-12 06:34:00 +03:00
9156_01_mangos_spell_chain.sql [9156] Implement talent 19552 and ranks affect of spell 61846 and ranks. 2010-01-12 07:15:22 +03:00
9156_02_mangos_spell_proc_event.sql [9156] Implement talent 19552 and ranks affect of spell 61846 and ranks. 2010-01-12 07:15:22 +03:00
9160_01_mangos_spell_proc_event.sql [9160] Implement and use PROC_EX_FULL_BLOCK 2010-01-12 12:07:58 +03:00
9160_02_mangos_spell_chain.sql [9160] Implement and use PROC_EX_FULL_BLOCK 2010-01-12 12:07:58 +03:00
9198_01_mangos_mangos_string.sql [9198] Replace targeted movegen by 2 new: chase/follow movegens. 2010-01-17 09:37:11 +03:00
9220_01_mangos_spell_proc_event.sql [9220] Implement talent 53527 and ranks. 2010-01-20 10:48:26 +03:00
9220_02_mangos_spell_chain.sql [9220] Implement talent 53527 and ranks. 2010-01-20 10:48:26 +03:00
9222_01_mangos_playercreateinfo_spell.sql [9222] New start spell for alow proper use new startup weapon. 2010-01-20 13:16:03 +03:00
9244_01_mangos_spell_proc_event.sql [9244] Implement talent Rime 2010-01-23 20:19:13 +03:00
9244_02_mangos_spell_chain.sql [9244] Implement talent Rime 2010-01-23 20:19:13 +03:00
9246_01_characters_character.sql [9250] Fixed my typo in 9246_01_characters_character.sql 2010-01-24 18:50:15 +03:00
9250_01_characters_character.sql [9250] Fixed my typo in 9246_01_characters_character.sql 2010-01-24 18:50:15 +03:00
9262_01_mangos_quest_template.sql [9262] Allow larger value in database quest_template.QuestFlags 2010-01-28 17:16:05 +01:00
9277_01_mangos_spell_bonus_data.sql [9277] Fixed AP bonus percent for spell 16857. 2010-01-31 20:41:40 +03:00
9288_01_mangos_spell_bonus_data.sql [9288] Prevent apply spell power bonuses to some item heals. 2010-02-03 02:29:25 +03:00
9289_01_mangos_spell_proc_event.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9291_01_mangos_quest_template.sql [9291] Implement DB storage for new quest field, CompletedText 2010-02-03 14:04:47 +01:00
9291_02_mangos_locales_quest.sql [9291] Implement DB storage for new quest field, CompletedText 2010-02-03 14:04:47 +01:00
9296_01_mangos_spell_chain.sql [9296] Add ranks info for 3674 and ranks. 2010-02-03 23:27:53 +03:00
9297_01_mangos_item_template.sql [9297] Increase max allowed DB value for item_template spellcharges_N 2010-02-03 21:34:48 +01:00
9309_01_mangos_quest_template.sql [9309] Implement DB storage for new quest_template field 'RewXPId'. 2010-02-05 14:29:27 +01:00
9310_01_mangos_spell_elixir.sql [9310] Item 13506 not flask anymore. 2010-02-05 19:04:26 +03:00
9312_01_mangos_quest_template.sql [9312] Implement DB storage of new quest_template field RewHonorMultiplier 2010-02-06 12:17:42 +01:00
9329_01_mangos_spell_chain.sql [9329] Add spell chain for 50245/50519 and ranks. 2010-02-08 16:10:33 +03:00
9331_01_mangos_quest_template.sql [9331] Implement DB storage of new quest fields RewRepValueIdN 2010-02-08 23:41:34 +01:00
9339_01_characters_group.sql [9339] Use group ids for indexing groups in DB 2010-02-09 14:36:20 +03:00
9349_01_characters_character_action.sql [9351] Hopefully final fix for sql update of [9349]. 2010-02-10 18:24:33 +01:00
9354_01_characters_character_action.sql [9354] Add spell efffects for dual spec. 2010-02-10 20:54:45 +01:00
9359_01_characters_characters.sql [9359] Load/save current active spec and total spec count. 2010-02-11 20:53:15 +01:00
9366_01_mangos_spell_bonus_data.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9366_02_mangos_spell_proc_event.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9374_01_characters_character_glyphs.sql [9374] Fxies for prev. commit. 2010-02-14 15:09:36 +03:00
9375_01_characters_character_glyphs.sql [9375] Now really correct sql update with content 2010-02-14 15:24:05 +03:00
9379_01_mangos_spell_proc_event.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9380_01_mangos_command.sql [9380] Some missing in mangos.sql command descriptions. 2010-02-14 18:05:33 +03:00
9382_01_mangos_command.sql [9382] Some missing .reload all_* commands descriptions in mangos.sql 2010-02-14 18:34:02 +03:00
9385_01_mangos_command.sql [9385] Lost sql update from [9382] 2010-02-14 22:13:23 +03:00
9450_01_mangos_spell_proc_event.sql [9450] Implement item set 887, 251, 232 spell effects. 2010-02-25 06:22:10 +03:00
9460_01_mangos_spell_bonus_data.sql [9460] Spellpower bonuses for spell 47540 and ranks. 2010-02-27 00:18:59 +03:00
9460_02_mangos_spell_chain.sql [9460] Spellpower bonuses for spell 47540 and ranks. 2010-02-27 00:18:59 +03:00
9464_01_mangos_spell_proc_event.sql [9464] Spell effects of itemset 883 and variants. 2010-02-27 06:46:21 +03:00
9466_01_mangos_mangos_string.sql [9466] Implemented SOAP in MaNGOS 2010-02-27 10:52:07 +01:00
9477_01_mangos_spell_proc_event.sql [9477] Implement glyph 45776 2010-02-28 08:31:29 +03:00
9482_01_mangos_spell_proc_event.sql [9483] Not affect anything but not nice typos... 2010-02-28 17:17:28 +03:00
9509_01_mangos_item_template.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9512_01_mangos_spell_proc_event.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9526_01_mangos_spell_proc_event.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9528_01_mangos_spell_bonus_data.sql [9528] Avoid apply spell bonuses to glyph 42397 effect. 2010-03-06 03:20:50 +03:00
9539_01_mangos_spell_bonus_data.sql [9539] Item 23836 effect and spell 54757 not affcted caster spell power. 2010-03-06 21:29:39 +03:00
9589_01_mangos_creature_template.sql [9589] Add additional field for storage of speed_run rate of creature 2010-03-15 15:47:56 +01:00
9590_01_mangos_db_script_string.sql [9590] fixed mangos.sql 2010-03-15 20:58:31 +01:00
9611_01_characters.sql [9625] Add absent empty lines in end of sql updates. 2010-03-27 00:52:18 +03:00
9622_01_mangos_gameobject.sql [9622] Add keys for gameobject table. 2010-03-26 16:51:51 +01:00
9630_01_characters_characters.sql [9630] Forgot to use git_id 2010-03-27 18:20:02 +01:00
9632_01_characters_characters.sql [9646] Really restore titles from data_backup table. 2010-03-31 00:05:59 +02:00
9634_01_characters_corpse.sql [9634] Remove fields 'data' and 'zone' from corpse table. 2010-03-28 13:23:31 +02:00
9635_01_characters_characters.sql [9635] Restore load/save shown action bars. 2010-03-28 15:25:22 +02:00
9636_01_mangos_item_template.sql [9636] Move item real-time/in-game duration counting flag to new extraflags field. 2010-03-29 09:52:59 +04:00
9646_01_characters_characters.sql [9646] Really restore titles from data_backup table. 2010-03-31 00:05:59 +02:00
9651_01_mangos_quest_poi.sql [9651] Correct code for quest points of interest. 2010-03-31 20:58:40 +02:00
9656_01_mangos_command.sql [9656] Implement '.list talents' command. 2010-04-02 06:38:27 +04:00
9656_02_mangos_mangos_string.sql [9656] Implement '.list talents' command. 2010-04-02 06:38:27 +04:00
9661_01_characters_character_talent.sql [9661] Implement dual talent specializations in talent switch part. 2010-04-03 00:02:55 +04:00
9663_01_mangos_mangos_string.sql [9663] Include entry of gameobject in gobject near command 2010-04-03 02:27:05 +02:00
9680_01_characters_character_stats.sql [9680] Create new table character_stats for external tools. 2010-04-06 15:03:43 +02:00
9686_01_characters_character_queststatus_weekly.sql [9686] Implement support weekly quests cooldowns. 2010-04-07 04:24:51 +04:00
9687_01_characters_character_queststatus_daily.sql [9687] Add to mangos.conf options for daily/weekly reset time. 2010-04-07 05:48:14 +04:00
9690_01_mangos_spell_proc_event.sql [9690] fix item 47670 spell proc event 2010-04-07 19:18:46 +03:00
9692_01_characters_mail.sql [9692] Switch to support client 3.3.3a (build 11723) 2010-04-08 04:27:09 +04:00
9692_02_characters_mail.sql [9714] Replace tab with spaces, just to make at least one push today. 2010-04-10 00:02:49 +02:00
9692_03_mangos_spell_proc_event.sql [9692] Switch to support client 3.3.3a (build 11723) 2010-04-08 04:27:09 +04:00
9702_01_characters_item.sql [9702] Drop now redundent item_text table. 2010-04-09 02:10:36 +04:00
9704_01_mangos_achievement_reward.sql [9704] Add to achievement_reward support gender dependent rewards. 2010-04-09 07:11:31 +04:00
9710_01_mangos_command.sql [9710] Add gm possibilities reset talents for all specs. 2010-04-09 22:43:11 +04:00
9716_01_mangos_npc_vendor.sql [9717] Fixed [9716] sql update. 2010-04-10 06:32:37 +04:00
9716_02_mangos_mangos_string.sql [9716] Allow to vendor have same items in list with different extanded price. 2010-04-10 05:41:30 +04:00
9720_01_mangos_spell_proc_event.sql [9720] Implement Glyph of Siphon Life and fix Siphon Life proc 2010-04-10 10:01:30 +03:00
9728_01_mangos_gossip_menu_option.sql [9728] Correct icon for one option in default gossip menu 2010-04-11 13:20:21 +02:00
9735_01_mangos_spell_proc_event.sql [9735] Fix proc for 53709 and ranks 2010-04-12 12:39:06 +03:00
9735_02_mangos_spell_chain.sql [9735] Fix proc for 53709 and ranks 2010-04-12 12:39:06 +03:00
9746_01_realmd_realmlist.sql [9746] Implement show realm version and build in realm list. 2010-04-14 09:15:33 +04:00
9747_01_mangos_battleground_template.sql [9747] Fixed bg template max/min per team values 2010-04-14 15:49:04 +04:00
9748_01_realmd_realmlist.sql [9748] Fixed startup problems after recent realmd DB. 2010-04-14 16:40:11 +04:00
9751_01_characters.sql [9751] Add index by spell to character_spell 2010-04-16 08:39:08 +04:00
9752_01_mangos_gameobject_template.sql [9752] Add storage for min/maxgold of gameobject 2010-04-16 08:45:46 +02:00
9753_01_mangos_instance_template.sql [9753] Add default value for parent-field in instance_template 2010-04-16 09:08:32 +02:00
9755_01_mangos_instance_template.sql [9755] Fixed sql update version and related data 2010-04-17 15:41:38 +04:00
9761_01_mangos_mangos_string.sql [9761] Restore .list object output. 2010-04-18 18:09:44 +04:00
9763_01_mangos_battleground_template.sql [9763] Use min/max BG/arena levels from DBC. Update table content. 2010-04-18 21:31:19 +04:00
9766_01_mangos_spell_proc_event.sql [9766] Remove outdated code for 54936 2010-04-20 12:03:55 +03:00
9767_01_mangos_mangos_string.sql [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands. 2010-04-20 22:12:50 +04:00
9767_02_mangos_command.sql [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands. 2010-04-20 22:12:50 +04:00
9767_03_characters_characters.sql [9767] Add the posibility to keep deleted characters in the database for a while and also add related commands. 2010-04-20 22:12:50 +04:00
9768_01_mangos_command.sql [9768] Fixed my last sec. fix problem :/ 2010-04-20 22:39:25 +04:00
Makefile.am [9768] Fixed my last sec. fix problem :/ 2010-04-20 22:39:25 +04:00
README [9122] Updated copyright notice for new year. 2010-01-08 00:02:21 +03:00

= MaNGOS -- README =

Copyright (c) 2005-2010 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.