feat: add seeding script for pricing plans in database

This commit is contained in:
2026-04-23 15:00:49 +02:00
parent 1a66c46389
commit 11678e0b33

View File

@@ -26,7 +26,9 @@ async function main() {
tier: Plan.STARTER,
name: 'Starter',
priceXOF: 'Gratuit',
yearlyPriceXOF: 'Gratuit',
priceEUR: '0€',
yearlyPriceEUR: '0€',
description: 'Pour démarrer votre présence en ligne.',
features: [
'Fiche entreprise basique',
@@ -41,8 +43,10 @@ async function main() {
{
tier: Plan.BOOSTER,
name: 'Booster',
priceXOF: '5.000 FCFA',
priceEUR: '8€',
priceXOF: '3 500 FCFA',
yearlyPriceXOF: '33 500 FCFA',
priceEUR: '5€',
yearlyPriceEUR: '48€',
description: "L'indispensable pour les entreprises en croissance.",
features: [
'Tout du plan Starter',
@@ -58,8 +62,10 @@ async function main() {
{
tier: Plan.EMPIRE,
name: 'Empire',
priceXOF: '15.000 FCFA',
priceEUR: '23€',
priceXOF: '13 000 FCFA',
yearlyPriceXOF: '125 000 FCFA',
priceEUR: '20€',
yearlyPriceEUR: '192€',
description: 'Dominez votre marché avec une visibilité maximale.',
features: [
'Tout du plan Booster',
@@ -71,7 +77,7 @@ async function main() {
],
offerLimit: 1000,
recommended: false,
color: 'gray'
color: 'amber'
}
];