From 11678e0b33627bf921b4b5dcb0d0728c248f02ae Mon Sep 17 00:00:00 2001 From: streaper2 Date: Thu, 23 Apr 2026 15:00:49 +0200 Subject: [PATCH] feat: add seeding script for pricing plans in database --- prisma/seed-plans.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/prisma/seed-plans.ts b/prisma/seed-plans.ts index 4359d2a..995bc92 100644 --- a/prisma/seed-plans.ts +++ b/prisma/seed-plans.ts @@ -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' } ];