Files
Ucharify_api/app/migrations/20190203022133-add-subscription-id-payment-plans.js
T

21 lines
408 B
JavaScript

'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn('payment_plans', 'sub_item_id', {
type: Sequelize.UUID,
unique: true
});
},
down: (queryInterface, Sequelize) => {
/*
Add reverting commands here.
Return a promise to correctly handle asynchronicity.
Example:
return queryInterface.dropTable('users');
*/
}
};