altocompta/include/sql/patch/upgrade153.sql
sparkyx b00558ee26 Task #0001904: Previsions et budgets
Ajout montant initial and estimation cumulée pour avoir évolution passif/actif
2021-03-28 15:21:47 +02:00

7 lines
No EOL
331 B
PL/PgSQL

begin ;
alter table forecast_cat rename to forecast_category;
alter table forecast_category alter f_id set not null;
alter table forecast_item add fi_amount_initial numeric(20,4);
alter table forecast_item alter fi_amount_initial set default 0;
insert into version (val,v_description) values (154,'Rewriting of FORECAST');
commit;