From b6d38265ddbff6ff67ae0b18a7da0421d80a37e4 Mon Sep 17 00:00:00 2001
From: Nicolas Dubois <nicdub@gmx.ch>
Date: Mon, 30 Sep 2019 16:43:49 +0200
Subject: [PATCH] Status table should be utf8 for foreign key relation

---
 canapGEST/Documentation/DB/create_db_script.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/canapGEST/Documentation/DB/create_db_script.sql b/canapGEST/Documentation/DB/create_db_script.sql
index ab44b19..11fd778 100644
--- a/canapGEST/Documentation/DB/create_db_script.sql
+++ b/canapGEST/Documentation/DB/create_db_script.sql
@@ -41,7 +41,8 @@ CREATE TABLE IF NOT EXISTS `canap_db`.`status` (
   `status_value` VARCHAR(30) NOT NULL,
   PRIMARY KEY (`status_value`),
   UNIQUE INDEX `value_UNIQUE` (`status_value` ASC))
-ENGINE = InnoDB;
+ENGINE = InnoDB
+DEFAULT CHARACTER SET = utf8;
 
 
 -- -----------------------------------------------------
-- 
GitLab