]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0313.schema.subscription-owner.sql
LP#1842940: Improve Alert
[Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0313.schema.subscription-owner.sql
1 BEGIN;
2
3 -- Org Unit Settings for configuring org unit weights and org unit max-loops for hold targeting
4
5 INSERT INTO config.upgrade_log (version) VALUES ('0313'); --miker
6
7 ALTER TABLE serial.subscription ADD COLUMN owning_lib INT NOT NULL DEFAULT 1 REFERENCES actor.org_unit (id) ON DELETE SET NULL DEFERRABLE INITIALLY DEFERRED;
8
9 COMMIT;
10