mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
15 lines
No EOL
646 B
PL/PgSQL
15 lines
No EOL
646 B
PL/PgSQL
begin;
|
|
|
|
ALTER TABLE operation_analytique ADD COLUMN oa_jrnx_id_source bigint;
|
|
COMMENT ON COLUMN operation_analytique.oa_jrnx_id_source IS 'jrnx.j_id source of this amount, this amount is computed from an amount giving a ND VAT.Normally NULL is there is no ND VAT.';
|
|
|
|
ALTER TABLE operation_analytique ADD COLUMN oa_signed character(1);
|
|
ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET DEFAULT 'Y'::bpchar;
|
|
update operation_analytique set oa_signed='Y';
|
|
ALTER TABLE operation_analytique ALTER COLUMN oa_signed SET NOT NULL;
|
|
|
|
COMMENT ON COLUMN operation_analytique.oa_signed IS 'Sign of the amount';
|
|
|
|
update version set val=113;
|
|
|
|
commit; |