maj pricing, configuration du prisma
This commit is contained in:
@@ -31,6 +31,7 @@ model User {
|
||||
email String @unique
|
||||
hashedPassword String
|
||||
bio String?
|
||||
avatar String?
|
||||
|
||||
// Legacy string plan (temporarily kept to avoid DB drop errors)
|
||||
plan String @default("free")
|
||||
|
||||
@@ -25,9 +25,9 @@ async function main() {
|
||||
displayName: 'Auteur Pro',
|
||||
price: 12,
|
||||
description: 'Pour les écrivains sérieux.',
|
||||
maxProjects: -1, // -1 means unlimited
|
||||
maxAiActions: 500,
|
||||
features: ['500 actions IA / mois', 'Projets illimités', 'Export Word & EPUB', 'Support prioritaire'],
|
||||
maxProjects: 5, // -1 means unlimited
|
||||
maxAiActions: 75,
|
||||
features: ['75 actions IA / mois', 'Projets illimités', 'Export Word & EPUB', 'Support prioritaire'],
|
||||
isPopular: true,
|
||||
},
|
||||
{
|
||||
@@ -36,9 +36,9 @@ async function main() {
|
||||
displayName: 'Maître Plume',
|
||||
price: 29,
|
||||
description: 'Le summum de l\'écriture IA.',
|
||||
maxProjects: -1,
|
||||
maxAiActions: -1, // -1 means unlimited
|
||||
features: ['Actions IA illimitées', 'Accès Gemini 3 Pro', 'Bible du monde avancée', 'Outils de révision avancés'],
|
||||
maxProjects: 20,
|
||||
maxAiActions: 250, // -1 means unlimited
|
||||
features: ['250 actions IA / mois', 'Accès Gemini 3 Pro', 'Bible du monde avancée', 'Outils de révision avancés'],
|
||||
isPopular: false,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user