c727e59e39
* 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
# 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.