mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
23 lines
483 B
JavaScript
23 lines
483 B
JavaScript
|
|
exports.seed = (knex) => {
|
|
// Deletes ALL existing entries
|
|
return knex('subscriptions_plans').del()
|
|
.then(() => {
|
|
// Inserts seed entries
|
|
return knex('subscriptions_plans').insert([
|
|
{
|
|
id: 1,
|
|
name: 'basic',
|
|
price: 80,
|
|
signup_fee: 0,
|
|
currency: 'LYD',
|
|
trial_period: 0,
|
|
trial_interval: '',
|
|
|
|
invoice_period: 1,
|
|
invoice_interval: 'month',
|
|
}
|
|
]);
|
|
});
|
|
};
|