From dfc2513220e98c041672f744e1fbc30743c934ed Mon Sep 17 00:00:00 2001
From: Guillaume Heurtier <guillaume.heurtier@maarch.org>
Date: Wed, 8 Jan 2020 11:33:28 +0100
Subject: [PATCH] FEAT #12764 TIME 0:10 added owner column in list_templates

---
 migration/19.12/1912.sql | 1 +
 sql/structure.sql        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/migration/19.12/1912.sql b/migration/19.12/1912.sql
index f8149032943..6b08fbb66a5 100644
--- a/migration/19.12/1912.sql
+++ b/migration/19.12/1912.sql
@@ -562,6 +562,7 @@ CREATE TABLE list_templates
     description text,
     type CHARACTER VARYING(32) NOT NULL,
     entity_id INTEGER,
+    owner INTEGER DEFAULT NULL,
     CONSTRAINT list_templates_pkey PRIMARY KEY (id)
 )
 WITH (OIDS=FALSE);
diff --git a/sql/structure.sql b/sql/structure.sql
index 07c46f625e9..15989b07b75 100755
--- a/sql/structure.sql
+++ b/sql/structure.sql
@@ -1446,6 +1446,7 @@ CREATE TABLE list_templates
     description text,
     type CHARACTER VARYING(32) NOT NULL,
     entity_id INTEGER,
+    owner INTEGER DEFAULT NULL,
     CONSTRAINT list_templates_pkey PRIMARY KEY (id)
 )
 WITH (OIDS=FALSE);
-- 
GitLab