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