Add a Posts Schema just to test authentication
This commit is contained in:
@ -52,3 +52,11 @@ model Identity {
|
||||
@@unique([provider, uid])
|
||||
@@index(userId)
|
||||
}
|
||||
|
||||
model Post {
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
body String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
Reference in New Issue
Block a user