mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
16 lines
449 B
JavaScript
16 lines
449 B
JavaScript
|
|
exports.up = function(knex) {
|
|
return knex.schema.createTable('subscription_plan_features', table => {
|
|
table.increments();
|
|
table.integer('plan_id').unsigned().index().references('id').inTable('subscription_plans');
|
|
table.string('slug');
|
|
table.string('name');
|
|
table.string('description');
|
|
table.timestamps();
|
|
});
|
|
};
|
|
|
|
exports.down = function(knex) {
|
|
return knex.schema.dropTableIfExists('subscription_plan_features');
|
|
};
|