From: Galen Charlton Date: Thu, 11 Mar 2021 18:45:55 +0000 (-0500) Subject: LP#1815815: stamp schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e98a3759a0578fa58ce27b5dfc289764b8d8e29b;p=evergreen%2Fpines.git LP#1815815: stamp schema update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 50e80479e0..b657b5d9f3 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1253', :eg_version); -- berick/terranm/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1254', :eg_version); -- miker/terranm/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1254.schema.lassos.sql b/Open-ILS/src/sql/Pg/upgrade/1254.schema.lassos.sql new file mode 100644 index 0000000000..f7a70d22f5 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1254.schema.lassos.sql @@ -0,0 +1,29 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1254', :eg_version); + +-- XXX Committer: confirm ID below is the next available! +INSERT INTO permission.perm_list (id, code, description) + VALUES ( 629, 'ADMIN_LIBRARY_GROUPS', 'Administer library groups'); + +INSERT INTO config.workstation_setting_type (name, grp, datatype, label) +VALUES ( + 'eg.grid.admin.server.actor.org_lasso', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.server.actor.org_lasso', + 'Grid Config: admin.server.actor.org_lasso', + 'cwst', 'label' + ) +), ( + 'eg.grid.admin.server.actor.org_lasso_map', 'gui', 'object', + oils_i18n_gettext( + 'eg.grid.admin.server.actor.org_lasso_map', + 'Grid Config: admin.server.actor.org_lasso_map', + 'cwst', 'label' + ) +); + +ALTER TABLE actor.org_lasso ADD COLUMN global BOOL NOT NULL DEFAULT FALSE; + +COMMIT; + diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lassos.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lassos.sql deleted file mode 100644 index f4c333ae78..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lassos.sql +++ /dev/null @@ -1,29 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - --- XXX Committer: confirm ID below is the next available! -INSERT INTO permission.perm_list (id, code, description) - VALUES ( 629, 'ADMIN_LIBRARY_GROUPS', 'Administer library groups'); - -INSERT INTO config.workstation_setting_type (name, grp, datatype, label) -VALUES ( - 'eg.grid.admin.server.actor.org_lasso', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.server.actor.org_lasso', - 'Grid Config: admin.server.actor.org_lasso', - 'cwst', 'label' - ) -), ( - 'eg.grid.admin.server.actor.org_lasso_map', 'gui', 'object', - oils_i18n_gettext( - 'eg.grid.admin.server.actor.org_lasso_map', - 'Grid Config: admin.server.actor.org_lasso_map', - 'cwst', 'label' - ) -); - -ALTER TABLE actor.org_lasso ADD COLUMN global BOOL NOT NULL DEFAULT FALSE; - -COMMIT; -