[open-ils-commits] r16354 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 29 16:34:07 EDT 2010
Author: phasefx
Date: 2010-04-29 16:34:02 -0400 (Thu, 29 Apr 2010)
New Revision: 16354
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0247.data.org-setting-cat.bib.delete_on_no_copy_via_acq_lineitem_cancel.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
Log:
org unit setting for "Delete bib if all copies are deleted via Acquisitions lineitem cancellation."
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-29 20:28:36 UTC (rev 16353)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-04-29 20:34:02 UTC (rev 16354)
@@ -60,7 +60,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0246'); -- atz
+INSERT INTO config.upgrade_log (version) VALUES ('0247'); -- phasefx
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-04-29 20:28:36 UTC (rev 16353)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql 2010-04-29 20:34:02 UTC (rev 16354)
@@ -2001,6 +2001,22 @@
'string'
);
+-- 0247.data.org-setting-cat.bib.delete_on_no_copy_via_acq_lineitem_cancel.sql
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES (
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ oils_i18n_gettext(
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ 'CAT: Delete bib if all copies are deleted via Acquisitions lineitem cancellation.',
+ 'coust',
+ 'label'),
+ oils_i18n_gettext(
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ 'CAT: Delete bib if all copies are deleted via Acquisitions lineitem cancellation.',
+ 'coust',
+ 'description'),
+ 'bool'
+);
+
-- Org_unit_setting_type(s) that need an fm_class:
INSERT into config.org_unit_setting_type
( name, label, description, datatype, fm_class ) VALUES
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0247.data.org-setting-cat.bib.delete_on_no_copy_via_acq_lineitem_cancel.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0247.data.org-setting-cat.bib.delete_on_no_copy_via_acq_lineitem_cancel.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0247.data.org-setting-cat.bib.delete_on_no_copy_via_acq_lineitem_cancel.sql 2010-04-29 20:34:02 UTC (rev 16354)
@@ -0,0 +1,20 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0247'); -- phasefx
+
+INSERT INTO config.org_unit_setting_type ( name, label, description, datatype ) VALUES (
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ oils_i18n_gettext(
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ 'CAT: Delete bib if all copies are deleted via Acquisitions lineitem cancellation.',
+ 'coust',
+ 'label'),
+ oils_i18n_gettext(
+ 'cat.bib.delete_on_no_copy_via_acq_lineitem_cancel',
+ 'CAT: Delete bib if all copies are deleted via Acquisitions lineitem cancellation.',
+ 'coust',
+ 'description'),
+ 'bool'
+);
+
+COMMIT;
More information about the open-ils-commits
mailing list