mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
7d315288dd
* Listen to GitHub webhooks to update issue-sources cache * Add `GitHubWebhookTask` * review
17 lines
420 B
JavaScript
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");
|
|
},
|
|
};
|