]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/sql/Pg/upgrade/0275.schema.settings_groups.sql
LP#1661688: Add a link and other tweaks to alternate hold pickup feature
[working/Evergreen.git] / Open-ILS / src / sql / Pg / upgrade / 0275.schema.settings_groups.sql
1 BEGIN;
2
3 INSERT INTO config.upgrade_log (version) VALUES ('0275'); -- miker
4
5 CREATE TABLE config.settings_group (
6   name     text primary key,
7   label    text not null unique
8 );
9  
10 ALTER TABLE config.org_unit_setting_type
11   ADD COLUMN grp TEXT REFERENCES config.settings_group (name);
12  
13 ALTER TABLE config.usr_setting_type
14   ADD COLUMN grp TEXT REFERENCES config.settings_group (name);
15
16 COMMIT;
17