Files
outline/server/migrations/20250530235814-add-collaborator-ids-to-revisions.js
Hemachandar 7d315288dd Listen to GitHub webhooks to update issueSources cache (#9414)
* Listen to GitHub webhooks to update issue-sources cache

* Add `GitHubWebhookTask`

* review
2025-07-15 23:07:14 -04:00

17 lines
420 B
JavaScript

"use strict";
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn("revisions", "collaboratorIds", {
type: Sequelize.ARRAY(Sequelize.UUID),
allowNull: false,
defaultValue: [],
});
},
async down(queryInterface, Sequelize) {
await queryInterface.removeColumn("revisions", "collaboratorIds");
},
};