server/sql/updates/README
freghar 95840fd2c3 Removed trailing whitespaces and CRLFs
With /contrib/ and /dep/ excluded.

Signed-off-by: freghar <compmancz@gmail.com>
2008-10-22 11:52:03 +02:00

39 lines
1.8 KiB
Text

= MaNGOS -- README =
Copyright (c) 2005-2008 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 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.
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
|
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.
=== For commiters ====
Please, include sql update name in first line of commit description for simplify it search by users in commits list.