Files
outline/server/migrations/20230920032853-add-key-index.js
Apoorv Mishra 67b1fe5514 Local file storage (#5763)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2023-09-20 15:12:03 -07:00

12 lines
240 B
JavaScript

"use strict";
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addIndex("attachments", ["key"]);
},
async down(queryInterface) {
await queryInterface.removeIndex("attachments", ["key"]);
},
};