mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
cad670f19c
Co-authored-by: Tom Moor <tom@getoutline.com> closes #6795
20 lines
523 B
JavaScript
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");
|
|
},
|
|
};
|