feat: add selected image field

This commit is contained in:
Methapon Metanipat 2024-11-08 14:23:13 +07:00
parent 20dae3768e
commit cd5f8245c4
2 changed files with 4 additions and 0 deletions

View file

@ -954,6 +954,8 @@ model Institution {
subDistrict SubDistrict @relation(fields: [subDistrictId], references: [id], onDelete: Cascade)
subDistrictId String
selectedImage String?
}
model WorkflowTemplate {

View file

@ -41,6 +41,8 @@ type InstitutionPayload = {
subDistrictId: string;
districtId: string;
provinceId: string;
selectedImage?: string | null;
};
@Route("api/v1/institution")