17 lines
339 B
JavaScript
17 lines
339 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
return queryInterface.changeColumn('events', 'payload', {
|
|
allowNull: false,
|
|
type: Sequelize.JSONB
|
|
});
|
|
},
|
|
|
|
down: (queryInterface, Sequelize) => {
|
|
/*
|
|
* Not bothering with a down migration since this will modify data
|
|
*/
|
|
}
|
|
};
|