This commit is contained in:
Jori Lallo
2016-08-18 14:42:53 -07:00
parent 3089ac7bc8
commit e3e5ead9e0
5 changed files with 35 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
queryInterface.addIndex('revisions', ['documentId']);
},
down: function (queryInterface, Sequelize) {
queryInterface.removeIndex('revisions', ['documentId']);
},
};