UI & API Smart DIgital Village
This commit is contained in:
@@ -90,6 +90,8 @@ model FileStorage {
|
||||
KontakItem KontakItem[]
|
||||
|
||||
Pegawai Pegawai[]
|
||||
|
||||
DesaDigital DesaDigital[]
|
||||
}
|
||||
|
||||
//========================================= MENU PPID ========================================= //
|
||||
@@ -1325,3 +1327,16 @@ model Pembiayaan {
|
||||
isActive Boolean @default(true)
|
||||
ApbDesa ApbDesa[] @relation("ApbDesaPembiayaan")
|
||||
}
|
||||
// ========================================= INOVASI ========================================= //
|
||||
// ========================================= DESA DIGITAL / SMART VILLAGE ========================================= //
|
||||
model DesaDigital {
|
||||
id String @id @default(cuid())
|
||||
name String
|
||||
deskripsi String @db.Text
|
||||
image FileStorage @relation(fields: [imageId], references: [id])
|
||||
imageId String
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
deletedAt DateTime @default(now())
|
||||
isActive Boolean @default(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user