Files
outline/server/migrations/20241030235556-event-auth-type.js
T
2024-10-30 19:04:26 -05:00

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");
},
};