Stamping P.V. SUPA upgrade scripts
authorMike Rylander <mrylander@gmail.com>
Thu, 12 Sep 2013 17:48:47 +0000 (13:48 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 12 Sep 2013 17:50:39 +0000 (13:50 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql [deleted file]

index a8e7624..7649f6a 100644 (file)
@@ -91,7 +91,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 ('0825', :eg_version); -- phasefx/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0826', :eg_version); -- phasefx/miker
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql b/Open-ILS/src/sql/Pg/upgrade/0826.data.server_addon_perms.sql
new file mode 100644 (file)
index 0000000..312c0c3
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0826', :eg_version);
+
+INSERT INTO permission.perm_list ( id, code, description ) VALUES (
+    551,
+    'ADMIN_SERVER_ADDON_FOR_WORKSTATION',
+    oils_i18n_gettext(
+        551,
+        'Allows a user to specify which Server Add-ons get invoked at the current workstation',
+        'ppl',
+        'description'
+    )
+);
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.server_addon_perms.sql
deleted file mode 100644 (file)
index efbd6a4..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO permission.perm_list ( id, code, description ) VALUES (
-    551,
-    'ADMIN_SERVER_ADDON_FOR_WORKSTATION',
-    oils_i18n_gettext(
-        551,
-        'Allows a user to specify which Server Add-ons get invoked at the current workstation',
-        'ppl',
-        'description'
-    )
-);
-
-COMMIT;
-