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:
2024-04-25 15:12:52 -07:00
parent d26252fc11
commit 5e1cb0d8b4
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -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 */;