Files
moonwell-core-vanilla/sql/migrations
2023-03-18 10:54:13 +02:00
..
2021-12-26 15:06:37 +02:00
2022-08-11 13:01:25 +03:00
2022-11-12 09:35:59 +02:00
2022-09-07 10:26:57 +03:00
2022-10-16 12:37:31 +03:00
2022-11-17 09:57:14 +02:00
2022-12-13 00:05:46 +02:00
2022-12-17 04:49:50 +02:00
2023-03-15 10:00:24 +02: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.