From dceb6d161e87103444dca2631f599512127634b0 Mon Sep 17 00:00:00 2001 From: Rogan Hamby Date: Wed, 2 Nov 2016 13:54:25 -0400 Subject: [PATCH] remove example from opensrf file, field mapper and schema config bits --- Open-ILS/examples/fm_IDL.xml | 18 ++++++++++++++++++ Open-ILS/examples/opensrf.xml.example | 2 -- Open-ILS/src/sql/Pg/002.schema.config.sql | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index a51113f262..5e25e789ed 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -729,6 +729,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + + + + + + + + + + + + + + + diff --git a/Open-ILS/examples/opensrf.xml.example b/Open-ILS/examples/opensrf.xml.example index 87db4cc49a..888df66ff5 100644 --- a/Open-ILS/examples/opensrf.xml.example +++ b/Open-ILS/examples/opensrf.xml.example @@ -634,8 +634,6 @@ vim:et:ts=4:sw=4: 10 - - diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index cad3b82e56..508759c602 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -1201,4 +1201,20 @@ ALTER TABLE config.marc_subfield ) ); +CREATE TABLE config.postal_codes ( + id SERIAL PRIMARY KEY, + state TEXT, + city TEXT, + postal_code TEXT NOT NULL, + enabled BOOLEAN NOT NULL DEFAULT TRUE, + county TEXT, + alert TEXT + ); + +COMMENT ON TABLE config.postal_codes IS $$ +This table stores the postal codes for use with the patron editor that used to live in an external text file. +$$; + + + COMMIT; -- 2.11.0