mirror of
https://github.com/outline/outline.git
synced 2026-06-28 10:44:25 +03:00
18d4eaee07
* perf: Add missing indexes to notifications table * Add two more missing indexes * tests
13 lines
325 B
JavaScript
13 lines
325 B
JavaScript
'use strict';
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up (queryInterface, Sequelize) {
|
|
await queryInterface.addIndex('user_authentications', ['userId']);
|
|
},
|
|
|
|
async down (queryInterface, Sequelize) {
|
|
await queryInterface.removeIndex('user_authentications', ['userId']);
|
|
}
|
|
};
|