LP#1753536: stamp DB update
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 16:33:24 +0000 (12:33 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 16:33:24 +0000 (12:33 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql [deleted file]

index cc7aa22..2f61d63 100644 (file)
@@ -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 ('1178', :eg_version); -- terran/rhamby/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1179', :eg_version); -- dpearl/Dycrona/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql b/Open-ILS/src/sql/Pg/upgrade/1179.data.yaous_show_owning_lib_column.sql
new file mode 100644 (file)
index 0000000..9814ef8
--- /dev/null
@@ -0,0 +1,25 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1179', :eg_version);
+
+INSERT INTO config.org_unit_setting_type 
+    (grp, name, datatype, label, description)
+VALUES (
+    'opac',
+    'opac.show_owning_lib_column', 'bool',
+    oils_i18n_gettext(
+        'opac.show_owning_lib_column',
+        'Show Owning Lib in Items Out',
+        'coust',
+        'label'
+    ),
+    oils_i18n_gettext(
+        'opac.show_owning_lib_column',
+'If enabled, the Owning Lib will be shown in the Items Out display.' ||
+' This may assist in requesting additional renewals',
+        'coust',
+        'description'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.yaous_show_owning_lib_column.sql
deleted file mode 100644 (file)
index 7ee775b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.org_unit_setting_type 
-    (grp, name, datatype, label, description)
-VALUES (
-    'opac',
-    'opac.show_owning_lib_column', 'bool',
-    oils_i18n_gettext(
-        'opac.show_owning_lib_column',
-        'Show Owning Lib in Items Out',
-        'coust',
-        'label'
-    ),
-    oils_i18n_gettext(
-        'opac.show_owning_lib_column',
-'If enabled, the Owning Lib will be shown in the Items Out display.' ||
-' This may assist in requesting additional renewals',
-        'coust',
-        'description'
-    )
-);
-
-COMMIT;