Fix: Ajout contrainte not null sur champ percent des actions. Evite perte de données sur les select avec where percent < x%
This commit is contained in:
parent
921cc84140
commit
fb543f55da
@ -830,6 +830,8 @@ insert into llx_c_actioncomm (id, code, type, libelle) values ( 9, 'AC_FAC', 's
|
|||||||
insert into llx_c_actioncomm (id, code, type, libelle) values (10, 'AC_REL', 'system', 'Relance effectuée');
|
insert into llx_c_actioncomm (id, code, type, libelle) values (10, 'AC_REL', 'system', 'Relance effectuée');
|
||||||
insert into llx_c_actioncomm (id, code, type, libelle) values (11, 'AC_CLO', 'system', 'Clôture');
|
insert into llx_c_actioncomm (id, code, type, libelle) values (11, 'AC_CLO', 'system', 'Clôture');
|
||||||
|
|
||||||
|
alter table llx_actioncomm change percent percent smallint NOT NULL default 0;
|
||||||
|
|
||||||
|
|
||||||
drop table if exists llx_c_ape;
|
drop table if exists llx_c_ape;
|
||||||
|
|
||||||
|
|||||||
@ -33,7 +33,7 @@ create table llx_actioncomm
|
|||||||
fk_user_action integer, -- id de la personne qui doit effectuer l'action
|
fk_user_action integer, -- id de la personne qui doit effectuer l'action
|
||||||
fk_user_author integer,
|
fk_user_author integer,
|
||||||
priority smallint,
|
priority smallint,
|
||||||
percent smallint,
|
percent smallint NOT NULL default 0,
|
||||||
note text,
|
note text,
|
||||||
propalrowid integer,
|
propalrowid integer,
|
||||||
fk_facture integer
|
fk_facture integer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user