dest_amount, in order to accommodate deallocations -- where we move
money out of a fund without moving it into another fund.
This change was applied via upgrade script # 0135, but apparently was
never applied to the base installation script.
M Open-ILS/src/sql/Pg/200.schema.acq.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17886
dcc99617-32d9-48b4-a31d-
7c20da2025e4
src_fund INT NOT NULL REFERENCES acq.fund( id )
DEFERRABLE INITIALLY DEFERRED,
src_amount NUMERIC NOT NULL,
- dest_fund INT NOT NULL REFERENCES acq.fund( id )
+ dest_fund INT REFERENCES acq.fund( id )
DEFERRABLE INITIALLY DEFERRED,
- dest_amount NUMERIC NOT NULL,
+ dest_amount NUMERIC,
transfer_time TIMESTAMPTZ NOT NULL DEFAULT now(),
transfer_user INT NOT NULL REFERENCES actor.usr( id )
DEFERRABLE INITIALLY DEFERRED,