This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
2016-08-18 21:42:53 +00:00
|
|
|
module.exports = {
|
2017-04-27 04:47:03 +00:00
|
|
|
up: function(queryInterface, Sequelize) {
|
2016-08-18 21:42:53 +00:00
|
|
|
queryInterface.addIndex('revisions', ['documentId']);
|
|
|
|
},
|
|
|
|
|
2017-04-27 04:47:03 +00:00
|
|
|
down: function(queryInterface, Sequelize) {
|
2016-08-18 21:42:53 +00:00
|
|
|
queryInterface.removeIndex('revisions', ['documentId']);
|
|
|
|
},
|
|
|
|
};
|