mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
13 lines
306 B
JavaScript
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"]);
|
|
},
|
|
};
|