mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
20 lines
585 B
JavaScript
20 lines
585 B
JavaScript
'use strict';
|
|
|
|
// Part 2A — admin-authored bullet list ("what's included") per plan, replacing
|
|
// the client's hardcoded 4-item static perks list. Same JSONB-array-of-objects
|
|
// pattern already used for plan_policies.access_rules / payment_policies.promo_rules.
|
|
|
|
module.exports = {
|
|
async up(queryInterface, Sequelize) {
|
|
await queryInterface.addColumn('tier_plans', 'features', {
|
|
type: Sequelize.JSONB,
|
|
allowNull: true,
|
|
after: 'description',
|
|
});
|
|
},
|
|
|
|
async down(queryInterface) {
|
|
await queryInterface.removeColumn('tier_plans', 'features');
|
|
},
|
|
};
|