Files
outline/server/migrations/20241231045203-add-attachments-teamId-index.js
2024-12-31 03:36:05 -08:00

13 lines
306 B
JavaScript

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