2017-01-12 07:47:56 +01:00
|
|
|
/* The migrator has two methods the user should be concerned with:
|
|
|
|
*
|
|
|
|
* getData(), which returns the app-consumable data object
|
|
|
|
* saveData(), which persists the app-consumable data object.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Migrations must start at version 1 or later.
|
|
|
|
// They are objects with a `version` number
|
|
|
|
// and a `migrate` function.
|
|
|
|
//
|
|
|
|
// The `migrate` function receives the previous
|
|
|
|
// config data format, and returns the new one.
|
|
|
|
|
2016-04-12 23:41:58 +02:00
|
|
|
module.exports = [
|
2017-01-12 11:24:33 +01:00
|
|
|
require('./002'),
|
|
|
|
require('./003'),
|
|
|
|
require('./004'),
|
2017-01-29 04:19:03 +01:00
|
|
|
require('./005'),
|
2017-01-30 22:01:54 +01:00
|
|
|
require('./006'),
|
2016-04-12 23:41:58 +02:00
|
|
|
]
|