From 13898e691ef201677805a7ee2deb7ba98d8620cd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 3 Feb 2010 22:36:08 +0000 Subject: [PATCH] Fix: bad rights for user author --- htdocs/install/mysql/migration/2.7.0-2.8.0.sql | 1 + htdocs/install/mysql/tables/llx_projet.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/2.7.0-2.8.0.sql b/htdocs/install/mysql/migration/2.7.0-2.8.0.sql index 281ce050323..5c738f8f64b 100755 --- a/htdocs/install/mysql/migration/2.7.0-2.8.0.sql +++ b/htdocs/install/mysql/migration/2.7.0-2.8.0.sql @@ -150,6 +150,7 @@ ALTER TABLE llx_projet ADD COLUMN description text AFTER title; ALTER TABLE llx_projet CHANGE note note_private text; ALTER TABLE llx_projet ADD COLUMN note_public text AFTER note_private; ALTER TABLE llx_projet MODIFY fk_statut smallint DEFAULT 0 NOT NULL; +ALTER TABLE llx_projet MODIFY fk_user_creat integer NOT NULL; -- Uniformize code: change tva_taux to tva_tx ALTER TABLE llx_facturedet CHANGE tva_taux tva_tx real; diff --git a/htdocs/install/mysql/tables/llx_projet.sql b/htdocs/install/mysql/tables/llx_projet.sql index 96e3421338f..60fcccba875 100644 --- a/htdocs/install/mysql/tables/llx_projet.sql +++ b/htdocs/install/mysql/tables/llx_projet.sql @@ -31,7 +31,7 @@ create table llx_projet entity integer DEFAULT 1 NOT NULL, -- multi company id title varchar(255) NOT NULL, description text, - fk_user_creat integer, -- createur du projet + fk_user_creat integer NOT NULL, -- createur du projet public integer, -- project is public or not fk_statut smallint DEFAULT 0 NOT NULL, note_private text,