Files
moonwell-core-vanilla/sql/migrations
ratkosrb bad36c85c4 New script for quest Questioning Reethe. (#172)
* Add migration.

* Remove hardcoded script.
2018-07-18 18:17:59 +03:00
..
2018-06-29 02:14:22 +03:00
2018-07-04 19:27:23 +10:00
2018-07-02 20:55:07 +10: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.