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/upgrade12.sql
2015-09-27 00:54:25 +02:00

11 lines
265 B
PL/PgSQL

begin;
ALTER TABLE quant_sold ADD CONSTRAINT qs_id_pk PRIMARY KEY(qs_id);
COMMENT ON TABLE quant_sold IS 'Contains about invoice for customer';
drop table user_pref;
-- trim the space
update parm_code set p_code=trim(p_code);
update version set val=13;
commit;