nifty-wallet/app/scripts/migrations/index.js

41 lines
938 B
JavaScript
Raw Normal View History

/* The migrator has two methods the user should be concerned with:
2017-02-03 21:35:54 -08:00
*
* 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.
module.exports = [
require('./002'),
require('./003'),
require('./004'),
require('./005'),
require('./006'),
require('./007'),
require('./008'),
require('./009'),
2017-02-03 21:35:54 -08:00
require('./010'),
require('./011'),
2017-03-29 08:08:15 -07:00
require('./012'),
require('./013'),
require('./014'),
require('./015'),
require('./016'),
require('./017'),
2017-08-14 20:06:15 -07:00
require('./018'),
require('./019'),
require('./020'),
require('./021'),
require('./022'),
require('./023'),
require('./024'),
2018-04-05 18:05:03 -07:00
require('./025'),
require('./026'),
]