mirror of
https://github.com/outline/outline.git
synced 2026-06-29 11:14:23 +03:00
94252672f8
* Add clientType concept * Add clientType mutations * tsc * i18n * fix: Invalid input handling * tsc
17 lines
415 B
JavaScript
17 lines
415 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("oauth_clients", "clientType", {
|
|
type: Sequelize.STRING,
|
|
allowNull: false,
|
|
defaultValue: "confidential",
|
|
});
|
|
},
|
|
|
|
async down(queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("oauth_clients", "clientType");
|
|
},
|
|
};
|