Files
moonwell-core-vanilla/sql/migrations
bladez c727e59e39 Refactored petition handling (#1037)
* Now load petitions into memory and manage them directly

* Reworked petition handling to utilize memory stored petitions rather than directly querying the database

* Add support for reloading petitions

* Now store charterguid in DB with petition info

* Now send a valid message when a player has already signed a charter on the same account
Re-added SendPetitionShowList
Corrected debug message formatting

* Reset petition pointer after deletion

* Now delete petitions when charters are deleted

* Add guards to guild mappings

* Forward decl Petition

* Include GuildMgr

* Move Player* constructor of PetitionSignature to TU rather than header

* Include GuildMgr in Item
2017-12-20 17:24:24 +11:00
..
2017-11-11 12:20:22 +02:00
2017-11-30 01:10:11 +02:00
2017-05-22 15:51:14 +01:00
2017-03-10 00:38:11 +03:00

# SQL Migration File Format

SQL Migration is an ordinary SQL file.

File name must have the following format:

    YYYYmmddHHMMSS_database.sql

'YYYYmmddHHMMSS' should be the current date in UTC.
'database' must be one of 'characters', 'world' or 'logon'.

For example:

    20140320193109_world.sql

First line in the file must be the following:

    INSERT INTO `migrations` VALUES ('YYYYmmddHHMMSS');

The date must be the same as in the file name.