Tambahan buat deploy
This commit is contained in:
@@ -50,26 +50,26 @@ model AppMenuChild {
|
|||||||
// ========================================= FILE STORAGE ========================================= //
|
// ========================================= FILE STORAGE ========================================= //
|
||||||
|
|
||||||
model FileStorage {
|
model FileStorage {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String @unique
|
name String @unique
|
||||||
realName String
|
realName String
|
||||||
path String
|
path String
|
||||||
mimeType String
|
mimeType String
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
deletedAt DateTime?
|
deletedAt DateTime?
|
||||||
isActive Boolean @default(true)
|
isActive Boolean @default(true)
|
||||||
link String
|
link String
|
||||||
Berita Berita[]
|
Berita Berita[]
|
||||||
PotensiDesa PotensiDesa[]
|
PotensiDesa PotensiDesa[]
|
||||||
Posyandu Posyandu[]
|
Posyandu Posyandu[]
|
||||||
StrukturPPID StrukturPPID[]
|
StrukturPPID StrukturPPID[]
|
||||||
GalleryFoto GalleryFoto[]
|
GalleryFoto GalleryFoto[]
|
||||||
PelayananSuratKeterangan PelayananSuratKeterangan[]
|
PelayananSuratKeterangan PelayananSuratKeterangan[]
|
||||||
Penghargaan Penghargaan[]
|
Penghargaan Penghargaan[]
|
||||||
ProfileDesaImage ProfileDesaImage[]
|
ProfileDesaImage ProfileDesaImage[]
|
||||||
ProfilePPID ProfilePPID[]
|
ProfilePPID ProfilePPID[]
|
||||||
ProfilPerbekel ProfilPerbekel[]
|
ProfilPerbekel ProfilPerbekel[]
|
||||||
}
|
}
|
||||||
|
|
||||||
//========================================= MENU PPID ========================================= //
|
//========================================= MENU PPID ========================================= //
|
||||||
@@ -278,37 +278,38 @@ model LambangDesa {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model MaskotDesa {
|
model MaskotDesa {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
judul String
|
judul String
|
||||||
deskripsi String @db.Text
|
deskripsi String @db.Text
|
||||||
images ProfileDesaImage[]
|
images ProfileDesaImage[]
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
deletedAt DateTime @default(now())
|
deletedAt DateTime @default(now())
|
||||||
isActive Boolean @default(true)
|
isActive Boolean @default(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
model ProfileDesaImage {
|
model ProfileDesaImage {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
label String
|
label String
|
||||||
image FileStorage @relation(fields: [imageId], references: [id])
|
image FileStorage @relation(fields: [imageId], references: [id])
|
||||||
imageId String
|
imageId String
|
||||||
MaskotDesa MaskotDesa @relation(fields: [maskotDesaId], references: [id])
|
MaskotDesa MaskotDesa @relation(fields: [maskotDesaId], references: [id])
|
||||||
maskotDesaId String
|
maskotDesaId String
|
||||||
}
|
}
|
||||||
|
|
||||||
model ProfilPerbekel {
|
model ProfilPerbekel {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
biodata String @db.Text
|
biodata String @db.Text
|
||||||
pengalaman String @db.Text
|
pengalaman String @db.Text
|
||||||
pengalamanOrganisasi String @db.Text
|
pengalamanOrganisasi String @db.Text
|
||||||
programUnggulan String @db.Text
|
programUnggulan String @db.Text
|
||||||
image FileStorage? @relation(fields: [imageId], references: [id])
|
image FileStorage? @relation(fields: [imageId], references: [id])
|
||||||
imageId String?
|
imageId String?
|
||||||
createdAt DateTime @default(now())
|
imageUrl String
|
||||||
updatedAt DateTime @updatedAt
|
createdAt DateTime @default(now())
|
||||||
deletedAt DateTime @default(now())
|
updatedAt DateTime @updatedAt
|
||||||
isActive Boolean @default(true)
|
deletedAt DateTime @default(now())
|
||||||
|
isActive Boolean @default(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========================================= BERITA ========================================= //
|
// ========================================= BERITA ========================================= //
|
||||||
|
|||||||
Reference in New Issue
Block a user