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

13 lines
327 B
JavaScript
Raw Normal View History

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