mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 00:52:01 +01:00
12 lines
325 B
JavaScript
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')
|
|
}
|
|
};
|