1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00
metamask-extension/app/scripts/migrations/index.js

27 lines
658 B
JavaScript
Raw Normal View History

/* The migrator has two methods the user should be concerned with:
2017-02-04 06:35:54 +01: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-04 06:35:54 +01:00
require('./010'),
require('./011'),
2017-03-29 17:08:15 +02:00
require('./012'),
]