Files
moonwell-core-vanilla/sql/migrations
brotalnia 6cfd5083f6 Merge branch 'miscdb2' into 'development'
Misc DB fixes

See merge request lights-hope/server!46
2018-03-11 12:53:20 +00:00
..
2018-03-06 20:15:25 +01:00
2018-03-10 16:44:34 +00:00
2018-03-10 17:01:19 +00: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.