mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
51cb5bffce
* Cache `issueSources` for embed integrations * lock model before update
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
queryInterface.addColumn("integrations", "issueSources", {
|
|
type: Sequelize.JSONB,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
queryInterface.removeColumn("integrations", "issueSources");
|
|
},
|
|
};
|