UNPKG

synt_backend

Version:

Synt light-weight node backend service

26 lines (23 loc) 555 B
"use strict"; module.exports = { async up(queryInterface, Sequelize) { /** * Add altering commands here. * * Example: * await queryInterface.createTable('users', { id: Sequelize.INTEGER }); */ await queryInterface.addColumn("Provisions", "payment", { type: Sequelize.JSON, }); }, async down(queryInterface) { /** * Add reverting commands here. * * Example: * await queryInterface.dropTable('users'); */ await queryInterface.removeColumn("Provisions", "payment"); }, };