server/sql/updates
VladimirMangos 080727cbfa [9886] Implement new commands for account search
* .lookup account email, .lookup account ip, .lookup account name
* For new commands and for .lookup player versions use first arg as part of email/ip/name search
* Use similar output format for player/account lists.
2010-05-13 11:44:03 +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 [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
0.13 [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
0.14 [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
0.15 [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +04:00
0.16 [9810] Move pre-switch sql updates (except realmd related) to subdir. 2010-04-29 22:31:29 +04: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
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 [9779] Drop trailing whitespaces. 2010-04-23 05:28:51 +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
9794_01_mangos_mangos_string.sql [9794] Implement ".account characters" command 2010-04-26 07:13:39 +04:00
9794_02_mangos_command.sql Fixed sql update for avoid apply problems. 2010-04-26 07:57:03 +04:00
9803_01_mangos_spell_bonus_data.sql [9803] Fix typo in taken damage/healing bonus calculations and fix damage of 64085 2010-04-29 13:14:44 +03:00
9826_01_mangos_spell_script_target.sql Replace DOS lines ends by Unix version. 2010-05-03 04:19:38 +04:00
9849_01_characters_saved_variables.sql [9849] Implement character database clean up. 2010-05-07 23:08:24 +02:00
9854_01_mangos_spell_bonus_data.sql [9855] Fix some sqls from prev. commit 2010-05-09 20:36:47 +03:00
9881_01_mangos_scripts.sql [9881] Add additional fields to *_scripts tables for storage of more data. 2010-05-12 12:02:38 +02:00
9883_01_mangos_scripts.sql [9883] Change SCRIPT_COMMAND_TALK to support CHAT_TYPE_* using enum ChatType 2010-05-12 14:09:38 +02:00
9886_01_mangos_mangos_string.sql [9886] Implement new commands for account search 2010-05-13 11:44:03 +04:00
9886_02_mangos_command.sql [9886] Implement new commands for account search 2010-05-13 11:44:03 +04:00
Makefile.am [9886] Implement new commands for account search 2010-05-13 11:44:03 +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.