mirror of
https://github.com/outline/outline.git
synced 2026-06-29 11:14:23 +03:00
b01eb7ac57
Remove assumption of attachment ID in key
12 lines
240 B
JavaScript
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"]);
|
|
},
|
|
};
|