Fix: bad rights for user author

This commit is contained in:
Regis Houssin 2010-02-03 22:36:08 +00:00
parent 93cf727a1c
commit 13898e691e
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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,