server/sql/updates
2020-02-17 00:08:57 +00:00
..
0.5 [11372] Convert tabs to 4 spaces 2011-04-17 01:34:51 +02:00
0.6 Removed trailing whitespaces and CRLFs 2008-10-22 11:52:03 +02:00
0.7 [11372] Convert tabs to 4 spaces 2011-04-17 01:34:51 +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 [11372] Convert tabs to 4 spaces 2011-04-17 01:34:51 +02:00
0.15 [11372] Convert tabs to 4 spaces 2011-04-17 01:34:51 +02:00
0.16 [11372] Convert tabs to 4 spaces 2011-04-17 01:34:51 +02:00
0.17 [12135] Fix SQL Problems 2020-02-16 20:41:13 +00:00
0014_xxxxx_01_realmd_account_access.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0023_xxxxx_01_mangos_player_classlevelstats.sql [0076] Some Cleans and highest lookup entries for 4.3.4 DB2. 2020-02-16 08:59:35 +00:00
0028_xxxxx_01_characters_character_phase_data.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0028_xxxxx_02_mangos_quest_phase_maps.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0028_xxxxx_03_mangos_playercreateinfo.sql [0076] Some Cleans and highest lookup entries for 4.3.4 DB2. 2020-02-16 08:59:35 +00:00
0034_xxxxx_01_mangos_playercreateinfo.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0034_xxxxx_02_mangos_player_levelstats.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0034_xxxxx_03_mangos_player_classlevelstats.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0038_xxxxx_01_mangos_player_classlevelstats.sql [0076] Some Cleans and highest lookup entries for 4.3.4 DB2. 2020-02-16 08:59:35 +00:00
0040_xxxxx_01_mangos_playercreateinfo.sql [0076] Some Cleans and highest lookup entries for 4.3.4 DB2. 2020-02-16 08:59:35 +00:00
0046_xxxxx_01_mangos_player_xp_for_level.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0065_12087_01_mangos_mangos_string.sql [0065] Improve some mangos_string texts and command help texts 2020-02-16 08:29:05 +00:00
0065_12087_02_mangos_command.sql [0065] Improve some mangos_string texts and command help texts 2020-02-16 08:29:05 +00:00
0081_12000_01_mangos_spell_template.sql [0081] Implement server side spells 2020-02-16 11:54:54 +00:00
0082_12012_01_mangos_spell_template.sql [0082] Add to vanilla spells as server-side spells (23263, 25192) 2020-02-16 11:56:30 +00:00
0083_12090_01_mangos_spell_template.sql [0083] Implement some spells for AQ40 2020-02-16 11:56:31 +00:00
0096_xxxxx_01_characters_characters.sql [0097] Typo 2020-02-16 15:43:49 +00:00
0099_xxxxx_01_characters_character_phase_data.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0114_xxxxx_01_mangos_item_template.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0122_xxxxx_01_mangos_item_template.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0123_12093_01_mangos_spell_template.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0124_12094_01_mangos_creature_template.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0128_12097_01_mangos_mangos_string.sql [0132] Some Typos 2020-02-16 19:14:16 +00:00
0155_xxxxx_01_mangos_playercreateinfo_spell.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0155_xxxxx_02_mangos_playercreateinfo_action.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0156_xxxxx_01_mangos_playercreateinfo_action.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0156_xxxxx_02_mangos_playercreateinfo.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0156_xxxxx_03_mangos_playercreateinfo_spell.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0157_xxxxx_01_mangos_player_levelstats.sql [0167] Forgot from last Commit. 2020-02-16 20:32:11 +00:00
0159_xxxxx_01_mangos_quest_template.sql [0166] Some SQL Typos 2020-02-16 20:32:09 +00:00
0168_xxxxx_01_mangos_playercreateinfo_spell.sql [0168] Delete Spell 69001 from playercreateinfo_spell 2020-02-16 20:33:09 +00:00
0169_xxxxx_01_mangos_npc_vendor.sql [0169] Implemented vendors selling currencies. 2020-02-16 20:33:11 +00:00
0169_xxxxx_02_mangos_npc_vendor_template.sql [0169] Implemented vendors selling currencies. 2020-02-16 20:33:11 +00:00
0169_xxxxx_03_mangos_mangos_string.sql [0169] Implemented vendors selling currencies. 2020-02-16 20:33:11 +00:00
0169_xxxxx_04_mangos_command.sql [0172] Fix some Typo from last Commit Grrr 2020-02-16 20:33:15 +00:00
0176_xxxxx_01_mangos_gameobject_template.sql [0176] Update gameobject_template 2020-02-16 20:33:46 +00:00
0177_xxxxx_01_mangos_gameobject_template.sql [0177] Fix fail 2020-02-16 20:33:48 +00:00
12087_01_mangos_mangos_string.sql [12087] Improve some mangos_string texts and command help texts 2020-02-16 08:53:54 +00:00
12087_02_mangos_command.sql [12087] Improve some mangos_string texts and command help texts 2020-02-16 08:53:54 +00:00
12091_01_mangos_spell_template.sql [12091] Fix SQL file from last commit 2020-02-16 14:29:54 +00:00
12093_01_mangos_spell_template.sql [12093] Add some visual server side spells 2020-02-16 16:24:11 +00:00
12094_01_mangos_creature_template.sql [12094] Apply CREATURE_FLAG_EXTRA_NO_TALKTO_CREDIT to all creatures 2020-02-16 16:41:16 +00:00
12097_01_mangos_mangos_string.sql [12097] Add Outdoor PvP placeholders and string texts 2020-02-16 18:58:23 +00:00
12112_01_characters_character_phase_data.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_01_mangos_item_template.sql [12135] Fix SQL Problems 2020-02-16 20:41:13 +00:00
12112_01_realmd_account_access.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_02_characters_character.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_02_mangos_quest_template.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_03_mangos_gameobject_template.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_04_mangos_npc_vendor.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_05_mangos_npc_vendor_template.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_06_mangos_mangos_string.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_07_mangos_quest_phase_maps.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_08_mangos_player_classlevelstats.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_09_mangos_playercreateinfo.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_10_mangos_player_xp_for_level.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_11_mangos_playercreateinfo_action.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_12_mangos_playercreateinfo_spell.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_13_mangos_player_levelstats.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12112_14_mangos_command.sql [12112] MaNGOS switch Support to Patch 4.3.4 Build 15595 2020-02-16 20:39:20 +00:00
12120_01_mangos_spell_template.sql [12120] Add support for server-side npc summon spells 2020-02-16 20:40:52 +00:00
12121_01_mangos_spell_template.sql [12121] Implement some server side summons spells 2020-02-16 20:40:53 +00:00
12138_01_characters_characters.sql [12138] Remove unused currencytoken and keyring player slots, remove support for no longer existant player currency and honor fields 2020-02-16 20:41:16 +00:00
12138_01_mangos_command.sql [12138] Remove unused currencytoken and keyring player slots, remove support for no longer existant player currency and honor fields 2020-02-16 20:41:16 +00:00
12141_01_characters_character_currencies.sql [12142] Fix Typo 2020-02-16 20:41:20 +00:00
12141_01_mangos_command.sql [12142] Fix Typo 2020-02-16 20:41:20 +00:00
12141_02_mangos_mangos_string.sql [12140] Basic curency support. Based on @Supabad, @Shocker, @Shauren work. 2020-02-16 20:41:19 +00:00
12150_01_characters_saved_variables.sql [12150] Drop arena point distribution, implement currency week count reset. 2020-02-16 20:41:28 +00:00
12150_01_mangos_mangos_string.sql [12150] Drop arena point distribution, implement currency week count reset. 2020-02-16 20:41:28 +00:00
12161_01_characters_characters.sql [12161] Update talents: 2020-02-16 20:41:38 +00:00
12164_01_mangos_command.sql [12164] Fix inspect honor kill stats, arena stats. 2020-02-16 20:41:42 +00:00
12179_01_mangos_player_levelstats.sql [12183] Typo 2020-02-16 20:42:00 +00:00
12180_01_mangos_spell_learn_spell.sql [12183] Typo 2020-02-16 20:42:00 +00:00
12185_01_mangos_item_template.sql [12185] Update old Start->Items and added all new Start->Items 2020-02-16 20:42:02 +00:00
12186_01_mangos_item_template.sql [12188] Missing INSERT 2020-02-16 20:42:05 +00:00
12195_01_mangos_areatrigger_teleport.sql [12195] Improve AreaTrigger teleport requirement checks 2020-02-16 20:42:13 +00:00
12195_02_mangos_mangos_string.sql [12195] Improve AreaTrigger teleport requirement checks 2020-02-16 20:42:13 +00:00
12216_01_mangos_creature_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_02_mangos_disenchant_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_03_mangos_fishing_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_04_mangos_gameobject_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_05_mangos_item_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_06_mangos_mail_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_07_mangos_milling_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_08_mangos_pickpocketing_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_09_mangos_prospecting_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_10_mangos_reference_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_11_mangos_skinning_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
12216_12_mangos_spell_loot_template.sql [12216] Implement currency loot and update loot opcodes. 2020-02-16 20:42:34 +00:00
c12552_01_mangos_item_enchantment_template.sql [c12552] Differ random property and random suffix entries in item_enchantment_template table. Use negative values for random suffixes. This will fix overlapping entries. 2020-02-16 22:01:55 +00:00
c12564_01_mangos_spell_template.sql [c12563] Add server-side spells 37264, 37278 and 37365 2020-02-16 23:14:38 +00:00
c12594_01_mangos_spell_template.sql [c12582] Add support for server-side spells attr, attr_ex, attr_ex2 and effect0_target_b columns 2020-02-16 23:47:19 +00:00
c12601_01_mangos_spell_area.sql [c12599] Add support for condition_id to spell_area table 2020-02-17 00:07:38 +00:00
c12602_01_mangos_npc_spellclick_spells.sql [c12600] Add condition_id support to npc_spellclick_spells 2020-02-17 00:08:57 +00:00
README [c12537] Update Authorship information 2020-02-16 21:27:46 +00:00

= MaNGOS -- README =

This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information

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 Description ===

File names are divided into two parts.

First part is the revision and counter that shows the commit revision that
will be compatible with the database after apply that particular update.
Counter sets the order to apply sql updates for the same revision.

The second part of the name is the database and the table that needs an 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 updates in updates list for provided revision
         |    and set proper order for sql updates for same revision
         |
         MaNGOS commit revision 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 applying an update the DB is compatible with the mangos revision of this sql update.
SQL updates include special protection against multiple and wrong order of update application.

Attempts to apply sql updates to an older DB without previous SQL updates in list for the database
or to DB with already applied this or later SQL update will generate an error and not be 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.