-
-
Notifications
You must be signed in to change notification settings - Fork 832
/
schema.prisma.diff
18 lines (17 loc) · 1.06 KB
/
schema.prisma.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 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)