mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-05-21 01:30:07 +02:00
* remove checkoutSessionId from project * fix app_diff * Update schema.prisma.diff --------- Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
19 lines
1.1 KiB
Diff
19 lines
1.1 KiB
Diff
--- template/app/schema.prisma
|
|
+++ opensaas-sh/app/schema.prisma
|
|
@@ -14,10 +14,12 @@
|
|
email String? @unique
|
|
username String? @unique
|
|
lastActiveTimestamp DateTime @default(now())
|
|
- isAdmin Boolean @default(false)
|
|
+ isAdmin Boolean @default(true)
|
|
+ // isMockUser is an extra property for the demo app ensuring that all users can access
|
|
+ // the admin dashboard but won't be able to see the other users' data, only mock user data.
|
|
+ isMockUser Boolean @default(false)
|
|
|
|
- paymentProcessorUserId String? @unique
|
|
- lemonSqueezyCustomerPortalUrl String? // You can delete this if you're not using Lemon Squeezy as your payments processor.
|
|
+ stripeId String? @unique
|
|
subscriptionStatus String? // 'active', 'cancel_at_period_end', 'past_due', 'deleted'
|
|
subscriptionPlan String? // 'hobby', 'pro'
|
|
sendNewsletter Boolean @default(false)
|