gancio-upstream/server/migrations/20240108103452-event_ap_object.js
2024-01-08 22:52:58 +01:00

12 lines
325 B
JavaScript

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