mirror of
https://github.com/outline/outline.git
synced 2026-06-28 02:34:23 +03:00
398be02091
* Add authType column to events * Record authType with createFromContext
16 lines
349 B
JavaScript
16 lines
349 B
JavaScript
"use strict";
|
|
|
|
/** @type {import('sequelize-cli').Migration} */
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("events", "authType", {
|
|
type: Sequelize.STRING,
|
|
allowNull: true,
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn("events", "authType");
|
|
},
|
|
};
|