LP#1774707: Add Seed Data for worstation setting for group member details
authorMichele Morgan <mmorgan@noblenet.org>
Fri, 12 Apr 2019 20:10:00 +0000 (16:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 20 May 2019 18:49:52 +0000 (14:49 -0400)
Adds the config.workstation_setting_type for patron group member details
to seed data and includes an upgrade script.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.group-member-details-persist-key.sql [new file with mode: 0644]

index 928cdbe..7b565af 100644 (file)
@@ -19945,3 +19945,13 @@ VALUES (
     )
 );
 
+INSERT INTO config.workstation_setting_type
+    (name, grp, datatype, label)
+VALUES (
+    'eg.grid.circ.patron.group_members', 'gui', 'object',
+    oils_i18n_gettext(
+    'eg.grid.circ.patron.group_members'
+    'Grid Config: circ.patron.group_members',
+    'cwst', 'label')
+);
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.group-member-details-persist-key.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.group-member-details-persist-key.sql
new file mode 100644 (file)
index 0000000..6d3b75d
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+INSERT INTO config.workstation_setting_type
+    (name, grp, datatype, label)
+VALUES (
+    'eg.grid.circ.patron.group_members', 'gui', 'object',
+    oils_i18n_gettext(
+    'eg.grid.circ.patron.group_members',
+    'Grid Config: circ.patron.group_members',
+    'cwst', 'label')
+);
+
+COMMIT;