/// @@allow('create', true)
/// @@allow('read', spaces?[space.members?[user == auth()]])
/// @@allow('all', auth() == this)
/// My model for a user
model User {
id String @id() @default(uuid())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt()
/// @email
email String @unique()
emailVerified DateTime?
/// @password
/// @omit
password String?
name String?
spaces SpaceUser[]
/// @url
image String?
/// @json
profile Json?
lists List[]
todos Todo[]
accounts Account[]
}