1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/noalyss_ynh.git synced 2024-09-03 19:46:20 +02:00
noalyss_ynh/sources/html/admin/sql/patch/upgrade71.sql
2015-09-27 00:54:25 +02:00

8 lines
356 B
PL/PgSQL

begin;
alter table document_modele add md_affect varchar(3) default null;
update document_modele set md_affect='ACH' where md_type=10;
update document_modele set md_affect='VEN' where md_type=4;
update document_modele set md_affect='GES' where md_affect is null;
alter table document_modele alter md_affect set not null;
update version set val=72;
commit;