From 9e42637a2cc48a6feb56ede2906e5bcccbe2f3f4 Mon Sep 17 00:00:00 2001
From: "florian.azizian" <florian.azizian@maarch.org>
Date: Mon, 30 Sep 2019 16:27:11 +0100
Subject: [PATCH] FEAT #11269 TIME 0:05 migrate custom fields

---
 migration/19.12/1912.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/migration/19.12/1912.sql b/migration/19.12/1912.sql
index 97927d93b91..d89681b3b87 100644
--- a/migration/19.12/1912.sql
+++ b/migration/19.12/1912.sql
@@ -430,7 +430,7 @@ CREATE VIEW res_view_attachments AS
 /* DATA */
 TRUNCATE TABLE custom_fields;
 INSERT INTO custom_fields (id, label, type, values) VALUES (1, 'Nature', 'select', '["Courrier simple", "Courriel", "Chronopost", "Pli numérique"]');
-INSERT INTO custom_fields (id, label, type, values) VALUES (2, 'N° recommandé', 'string', '""');
+INSERT INTO custom_fields (id, label, type, values) VALUES (2, 'N° recommandé', 'string', '[]');
 SELECT setval('custom_fields_id_seq', (select max(id)+1 from custom_fields), false);
 
 TRUNCATE TABLE indexing_models;
-- 
GitLab