]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0135.schema.acq.fund_transfer_nulls.sql
LP#1096209: add check_sms_notify parameter to all relevant event defs
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0135.schema.acq.fund_transfer_nulls.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0135'); -- Scott McKellar
4
5 -- Make dest_fund and dest_amount nullable in order to accommodate
6 -- deallocations; i.e. when we move money out of a fund without
7 -- putting it into some other fund.
8
9 ALTER TABLE acq.fund_transfer
10         ALTER COLUMN dest_fund DROP NOT NULL;
11
12 ALTER TABLE acq.fund_transfer
13         ALTER COLUMN dest_amount DROP NOT NULL;
14
15 COMMIT;