From 11604ae21a439217c5c5db89f263e64ae5ffe336 Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Thu, 20 Aug 2015 16:23:36 +0000
Subject: [PATCH] FIX # pb with fileplan

---
 core/trunk/sql/structure.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/trunk/sql/structure.sql b/core/trunk/sql/structure.sql
index 85d7b894b22..fc84b2e5e96 100644
--- a/core/trunk/sql/structure.sql
+++ b/core/trunk/sql/structure.sql
@@ -3448,7 +3448,7 @@ CREATE TABLE fp_fileplan
 DROP TABLE IF EXISTS fp_fileplan_positions;
 CREATE TABLE fp_fileplan_positions 
 (
-  position_id character varying(32) NOT NULL,
+  position_id integer NOT NULL DEFAULT nextval('fp_fileplan_positions_position_id_seq'::regclass),
   position_label character varying(255),
   parent_id character varying(32) DEFAULT NULL,
   fileplan_id bigint NOT NULL,
-- 
GitLab