Files
outline/server/migrations/20260221131935-add-client-credentials-to-authentications.js
Salihu cad670f19c feat: GitLab integration (#10861)
Co-authored-by: Tom Moor <tom@getoutline.com>
closes #6795
2026-02-21 17:52:27 -05:00

20 lines
523 B
JavaScript

"use strict";
module.exports = {
async up(queryInterface, Sequelize) {
await queryInterface.addColumn("authentications", "clientId", {
type: Sequelize.STRING,
allowNull: true,
});
await queryInterface.addColumn("authentications", "clientSecret", {
type: Sequelize.BLOB,
allowNull: true,
});
},
async down(queryInterface) {
await queryInterface.removeColumn("authentications", "clientId");
await queryInterface.removeColumn("authentications", "clientSecret");
},
};