upd: be banner
Deskripsi: - database table banner - api crud banner No Issues
This commit is contained in:
@@ -59,6 +59,7 @@ model Village {
|
||||
Project Project[]
|
||||
Division Division[]
|
||||
ColorTheme ColorTheme[]
|
||||
BannerImage BannerImage[]
|
||||
}
|
||||
|
||||
model Group {
|
||||
@@ -481,6 +482,18 @@ model ColorTheme {
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model BannerImage {
|
||||
id String @id @default(cuid())
|
||||
Village Village? @relation(fields: [idVillage], references: [id])
|
||||
idVillage String?
|
||||
title String
|
||||
extension String
|
||||
image String
|
||||
isActive Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
}
|
||||
|
||||
model Subscription {
|
||||
id String @id @default(cuid())
|
||||
data Json
|
||||
|
||||
Reference in New Issue
Block a user