[open-ils-commits] r12066 - branches/rel_1_4_0/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Feb 4 16:11:34 EST 2009
Author: miker
Date: 2009-02-04 16:11:29 -0500 (Wed, 04 Feb 2009)
New Revision: 12066
Modified:
branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql
Log:
missed this table in the upgrade to 1.4 -- affects advanced search
Modified: branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql 2009-02-04 18:41:44 UTC (rev 12065)
+++ branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.3-1.4-upgrade-db.sql 2009-02-04 21:11:29 UTC (rev 12066)
@@ -135,6 +135,18 @@
ALTER TABLE config.copy_status ADD COLUMN opac_visible BOOL NOT NULL DEFAULT FALSE;
UPDATE config.copy_status SET opac_visible = holdable;
+CREATE TABLE config.bib_level_map (
+ code TEXT PRIMARY KEY,
+ value TEXT NOT NULL
+);
+INSERT INTO config.bib_level_map (code, value) VALUES ('a', oils_i18n_gettext('a', 'Monographic component part', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('b', oils_i18n_gettext('b', 'Serial component part', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('c', oils_i18n_gettext('c', 'Collection', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('d', oils_i18n_gettext('d', 'Subunit', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('i', oils_i18n_gettext('i', 'Integrating resource', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('m', oils_i18n_gettext('m', 'Monograph/Item', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('s', oils_i18n_gettext('s', 'Serial', 'cblvl', 'value'));
+
CREATE TABLE config.z3950_source (
name TEXT PRIMARY KEY,
label TEXT NOT NULL UNIQUE,
Modified: branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql 2009-02-04 18:41:44 UTC (rev 12065)
+++ branches/rel_1_4_0/Open-ILS/src/sql/Pg/1.2.4-1.4-upgrade-db.sql 2009-02-04 21:11:29 UTC (rev 12066)
@@ -135,6 +135,18 @@
ALTER TABLE config.copy_status ADD COLUMN opac_visible BOOL NOT NULL DEFAULT FALSE;
UPDATE config.copy_status SET opac_visible = holdable;
+CREATE TABLE config.bib_level_map (
+ code TEXT PRIMARY KEY,
+ value TEXT NOT NULL
+);
+INSERT INTO config.bib_level_map (code, value) VALUES ('a', oils_i18n_gettext('a', 'Monographic component part', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('b', oils_i18n_gettext('b', 'Serial component part', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('c', oils_i18n_gettext('c', 'Collection', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('d', oils_i18n_gettext('d', 'Subunit', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('i', oils_i18n_gettext('i', 'Integrating resource', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('m', oils_i18n_gettext('m', 'Monograph/Item', 'cblvl', 'value'));
+INSERT INTO config.bib_level_map (code, value) VALUES ('s', oils_i18n_gettext('s', 'Serial', 'cblvl', 'value'));
+
CREATE TABLE config.z3950_source (
name TEXT PRIMARY KEY,
label TEXT NOT NULL UNIQUE,
More information about the open-ils-commits
mailing list