Local file storage (#5763)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
11
server/migrations/20230920032853-add-key-index.js
Normal file
11
server/migrations/20230920032853-add-key-index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
async up(queryInterface, Sequelize) {
|
||||
await queryInterface.addIndex("attachments", ["key"]);
|
||||
},
|
||||
|
||||
async down(queryInterface) {
|
||||
await queryInterface.removeIndex("attachments", ["key"]);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user