fix(server): user can not signup through oauth if ever invited (#6101)

This commit is contained in:
liuyi committed 2024-03-13 07:50:11 +00:00
1 parent fd9084ea6a
commit 573528be41
9 files changed
+58 -13

No files matched your search

+3
View File
@@ -18,6 +18,9 @@ model User {
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(6)
/// Not available if user signed up through OAuth providers
password String? @db.VarChar
/// Indicate whether the user finished the signup progress.
/// for example, the value will be false if user never registered and invited into a workspace by others.
registered Boolean @default(true)
features UserFeatures[]
customer UserStripeCustomer?