Files
moonwell-core-vanilla/sql/migrations
..
2017-03-22 00:14:22 -07:00
2017-04-07 23:14:39 +01:00
2017-04-07 23:14:39 +01:00
2017-04-05 16:42:28 +01:00
2017-04-07 23:14:39 +01:00
2017-04-07 23:14:39 +01:00
2017-04-26 06:47:35 +01:00
2017-04-11 01:01:19 +01:00
2017-04-26 06:47:35 +01:00
2017-05-16 23:44:40 +01:00
2017-05-22 11:31:05 +01:00
2017-05-22 15:51:14 +01: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.