From acd354f1938254325a410ff8e2eea1e13196a7a0 Mon Sep 17 00:00:00 2001
From: Guillaume Heurtier <guillaume.heurtier@maarch.org>
Date: Tue, 8 Oct 2019 17:06:55 +0200
Subject: [PATCH] FEAT #11996 TIME 0:30 added enabled column in indexing_models

---
 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 bee079bf636..e1fad4e1ada 100644
--- a/migration/19.12/1912.sql
+++ b/migration/19.12/1912.sql
@@ -140,6 +140,7 @@ CREATE TABLE indexing_models
   owner INTEGER NOT NULL,
   private BOOLEAN NOT NULL,
   master INTEGER DEFAULT NULL,
+  enabled BOOLEAN DEFAULT TRUE NOT NULL,
   CONSTRAINT indexing_models_pkey PRIMARY KEY (id)
 )
 WITH (OIDS=FALSE);
diff --git a/sql/structure.sql b/sql/structure.sql
index 811f453fd8c..2db0eec815a 100755
--- a/sql/structure.sql
+++ b/sql/structure.sql
@@ -1877,6 +1877,7 @@ CREATE TABLE indexing_models
     owner INTEGER NOT NULL,
     private BOOLEAN NOT NULL,
     master INTEGER DEFAULT NULL,
+    enabled BOOLEAN DEFAULT TRUE NOT NULL,
     CONSTRAINT indexing_models_pkey PRIMARY KEY (id)
 )
 WITH (OIDS=FALSE);
-- 
GitLab