Update to RW 8.3.0 + Project CRUD complete
This commit is contained in:
@ -65,20 +65,12 @@ model Tag {
|
||||
projects Project[]
|
||||
}
|
||||
|
||||
model ProjectImage {
|
||||
id Int @id @default(autoincrement())
|
||||
fileId String
|
||||
|
||||
Project Project? @relation(fields: [projectId], references: [id])
|
||||
projectId Int?
|
||||
}
|
||||
|
||||
model Project {
|
||||
id Int @id @default(autoincrement())
|
||||
id Int @id @default(autoincrement())
|
||||
title String
|
||||
description String @default("No description provided")
|
||||
images ProjectImage[]
|
||||
description String @default("No description provided")
|
||||
images String[]
|
||||
date DateTime
|
||||
links String[] @default([])
|
||||
links String[] @default([])
|
||||
tags Tag[]
|
||||
}
|
||||
|
Reference in New Issue
Block a user