mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[6936] Update spell_chain table content. Most from provided data prepared by DiSlord.
Also switch to revision based numbering of sql updates.
This commit is contained in:
parent
904a2c40f3
commit
e6e35f38d1
5 changed files with 5658 additions and 1848 deletions
4603
sql/mangos.sql
4603
sql/mangos.sql
File diff suppressed because it is too large
Load diff
2857
sql/updates/6936_01_mangos_spell_chain.sql
Normal file
2857
sql/updates/6936_01_mangos_spell_chain.sql
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -95,6 +95,7 @@ pkgdata_DATA = \
|
|||
2008_12_22_17_mangos_item_template.sql \
|
||||
2008_12_22_18_characters_characters.sql \
|
||||
2008_12_22_19_characters_item_instance.sql \
|
||||
6936_01_mangos_spell_chain.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -170,4 +171,5 @@ EXTRA_DIST = \
|
|||
2008_12_22_17_mangos_item_template.sql \
|
||||
2008_12_22_18_characters_characters.sql \
|
||||
2008_12_22_19_characters_item_instance.sql \
|
||||
6936_01_mangos_spell_chain.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -12,28 +12,28 @@ 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 date+counter
|
||||
that show commit apply date that will be compatible with database after apply update.
|
||||
The second part of the name, is the table that needs and update or has been added.
|
||||
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:
|
||||
|
||||
2008_10_17_01_characters_character_spell.sql
|
||||
| | | |
|
||||
| | | |
|
||||
| | | The table character_spell
|
||||
| | | 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 date
|
||||
| and set proper order for sql updates for same date
|
||||
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 date related to sql update. For related commit
|
||||
you can see http://github.com/mangos/mangos/commits/master
|
||||
Expected commit will be in commits list for provided date and it will have
|
||||
sql update file name (2008_10_17_01_characters_character_spell.sql in our case) in list
|
||||
changed files, After appling this update DB compatiable with found commit.
|
||||
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
|
||||
|
||||
=== For commiters ====
|
||||
Please, include sql update name in first line of commit description for simplify it search by users in commits list.
|
||||
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.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6935"
|
||||
#define REVISION_NR "6936"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue