mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
update db init data to fix triage bug
The table `gender_based_violences` was missing a `triage_id` field, causing an exception to occur in some cases when selecting the triage button. This change alters the schema of the table to ensure the column is always present.
This commit is contained in:
@@ -1 +1,4 @@
|
||||
FROM streamlinehealth/streamline:signalytic
|
||||
|
||||
# update db init data
|
||||
COPY streamline_initial.sql /docker-entrypoint-initdb.d/
|
||||
@@ -4411,6 +4411,7 @@ CREATE TABLE `gender_based_violences` (
|
||||
`created_at` timestamp NULL DEFAULT NULL,
|
||||
`updated_at` timestamp NULL DEFAULT NULL,
|
||||
`deleted_at` timestamp NULL DEFAULT NULL,
|
||||
`triage_id` int DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
Reference in New Issue
Block a user