mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: Design with inversion dependency injection architecture. feat: Prettier http middleware. feat: Re-write items categories with preferred accounts.
27 lines
529 B
JavaScript
27 lines
529 B
JavaScript
|
|
exports.seed = (knex) => {
|
|
// Deletes ALL existing entries
|
|
return knex('subscription_plans').del()
|
|
.then(() => {
|
|
// Inserts seed entries
|
|
return knex('subscription_plans').insert([
|
|
{
|
|
id: 1,
|
|
name: 'free',
|
|
slug: 'free',
|
|
price: 0,
|
|
active: true,
|
|
currency: 'LYD',
|
|
|
|
trial_period: 15,
|
|
trial_interval: 'days',
|
|
|
|
invoice_period: 3,
|
|
invoice_interval: 'month',
|
|
|
|
index: 1,
|
|
}
|
|
]);
|
|
});
|
|
};
|