Files
moonwell-core-vanilla/sql/migrations
2018-01-07 21:23:04 +01:00
..
2017-11-11 12:20:22 +02:00
2017-11-30 01:10:11 +02:00
2017-12-26 05:30:38 +11:00
2017-12-26 19:21:50 +11:00
2017-12-26 19:20:16 +11: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.