add video model to prisma schema
This commit is contained in:
parent
77f783fcf8
commit
98a65d79bb
1 changed files with 3 additions and 1 deletions
|
|
@ -14,10 +14,12 @@ datasource db {
|
||||||
url = env("DATABASE_URL")
|
url = env("DATABASE_URL")
|
||||||
}
|
}
|
||||||
|
|
||||||
model Example {
|
model Video {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
|
title String
|
||||||
|
video_url String
|
||||||
}
|
}
|
||||||
|
|
||||||
// Necessary for Next auth
|
// Necessary for Next auth
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue