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,