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

19 lines
535 B
JavaScript
Raw Normal View History

/* 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.
module.exports = [
2016-05-11 13:10:54 -07:00
require('../migrations/002'),
require('../migrations/003'),
require('../migrations/004'),
]