Improve security
This commit is contained in:
parent
136781a8a1
commit
d6f330344d
15 changed files with 149 additions and 38 deletions
|
|
@ -1,14 +1,3 @@
|
|||
begin;
|
||||
alter table action_gestion add column ag_ref_ag_id int4;
|
||||
alter table action_gestion add column f_id_dest int4;
|
||||
alter table action_gestion add column f_id_exp int4;
|
||||
|
||||
update action_gestion set f_id_dest=f_id;
|
||||
update action_gestion set f_id_exp=0;
|
||||
|
||||
alter table action_gestion drop column f_id;
|
||||
|
||||
alter table action_gestion alter f_id_dest set not null;
|
||||
alter table action_gestion alter f_id_exp set not null;
|
||||
|
||||
commit;
|
||||
Loading…
Add table
Add a link
Reference in a new issue