Someone yell at me and tell me why this would be b...
# off-topic
d
Someone yell at me and tell me why this would be bad practice. I'm using Prisma to generate these schemas, and using supabase auth. This
user
model is the public schema, the
users
model is the auth schema.
Copy code
model user {
  // This user id is from the auth schema, not the public schema.
  user       users  @relation(fields: [id], references: [id])
  id         String @id @db.Uuid
  email      String
  first_name String
  last_name  String

  // ## Defined Relationships
  // ...removed

  @@schema("public")
}