gancio-upstream/server/migrations/20240318083638-add_ap_user_index.js

12 lines
303 B
JavaScript

'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up (queryInterface, Sequelize) {
return queryInterface.addIndex('ap_users', ['trusted'])
},
async down (queryInterface, Sequelize) {
return queryInterface.removeIndex('ap_users', ['trusted'])
}
};