Loosened constraint on group penalty thresholds. You can now define threholds for...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Sep 2009 17:26:25 +0000 (17:26 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Sep 2009 17:26:25 +0000 (17:26 +0000)
commitbc855fa217f3aa9bf83abf5b6a07179613ca26c0
tree79b1098226ae5f797ad9b0bee4bbd47d00ccbe5d
parent1c9b8773ca5082fba5f9d6b0bf4c060c5c4d1703
Loosened constraint on group penalty thresholds.  You can now define threholds for the same group as long as they have a different context org unit

To Update:

ALTER TABLE permission.grp_penalty_threshold DROP CONSTRAINT penalty_grp_once;
ALTER TABLE permission.grp_penalty_threshold ADD CONSTRAINT penalty_grp_once UNIQUE (grp,penalty,org_unit);

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@13963 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/sql/Pg/006.schema.permissions.sql