LP1806087 Repair SQL upgrade script file name
authorBill Erickson <berickxx@gmail.com>
Thu, 21 Feb 2019 17:30:45 +0000 (12:30 -0500)
committerDan Wells <dbw2@calvin.edu>
Thu, 21 Feb 2019 17:35:27 +0000 (12:35 -0500)
Make the name of the file match the upgrade version number applied by
the file.

As is, build/tools/update_db.sh fails to recognize a new update is
available.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql [deleted file]
Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1151.data.ang-catalog-preview-setting.sql
deleted file mode 100644 (file)
index 794d5ca..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('1152', :eg_version);
-
-INSERT into config.org_unit_setting_type 
-    (name, datatype, grp, label, description)
-VALUES ( 
-    'ui.staff.angular_catalog.enabled', 'bool', 'gui',
-    oils_i18n_gettext(
-        'ui.staff.angular_catalog.enabled',
-        'GUI: Enable Experimental Angular Staff Catalog',
-        'coust', 'label'
-    ),
-    oils_i18n_gettext(
-        'ui.staff.angular_catalog.enabled',
-        'Display an entry point in the browser client for the ' ||
-        'experimental Angular staff catalog.',
-        'coust', 'description'
-    )
-);
-
-COMMIT;
-
diff --git a/Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql b/Open-ILS/src/sql/Pg/upgrade/1152.data.ang-catalog-preview-setting.sql
new file mode 100644 (file)
index 0000000..794d5ca
--- /dev/null
@@ -0,0 +1,23 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1152', :eg_version);
+
+INSERT into config.org_unit_setting_type 
+    (name, datatype, grp, label, description)
+VALUES ( 
+    'ui.staff.angular_catalog.enabled', 'bool', 'gui',
+    oils_i18n_gettext(
+        'ui.staff.angular_catalog.enabled',
+        'GUI: Enable Experimental Angular Staff Catalog',
+        'coust', 'label'
+    ),
+    oils_i18n_gettext(
+        'ui.staff.angular_catalog.enabled',
+        'Display an entry point in the browser client for the ' ||
+        'experimental Angular staff catalog.',
+        'coust', 'description'
+    )
+);
+
+COMMIT;
+