gancio-upstream/server/migrations/20240402103452-event_ap_object.js

12 lines
327 B
JavaScript

'use strict';
/** @type {import('sequelize-cli').Migration} */
module.exports = {
async up (queryInterface, Sequelize) {
return queryInterface.addColumn('events', 'ap_object', { type: Sequelize.JSON })
},
async down (queryInterface, Sequelize) {
return queryInterface.removeColumn('events', 'ap_object')
}
};