mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
units,lesson as standalone
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
'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');
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user