From: Galen Charlton Date: Wed, 19 Sep 2018 19:54:20 +0000 (-0400) Subject: LP#1772680: remove ebook_rl table, which is no longer used X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1c3493e5851c80d84024aee6305142415a3fc274;p=evergreen%2Fpines.git LP#1772680: remove ebook_rl table, which is no longer used Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index f99c127e71..fbb9f13bac 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -12941,36 +12941,13 @@ SELECT usr, - - - - - - - - - - - - - - - - - - - - - + @@ -12980,7 +12957,6 @@ SELECT usr, - diff --git a/Open-ILS/src/sql/Pg/700.schema.extras.sql b/Open-ILS/src/sql/Pg/700.schema.extras.sql index 4ffc52c30d..f34e54971b 100644 --- a/Open-ILS/src/sql/Pg/700.schema.extras.sql +++ b/Open-ILS/src/sql/Pg/700.schema.extras.sql @@ -19,15 +19,6 @@ COMMENT ON TABLE extra.rbdigital_digital_services IS 'This table should contain INSERT INTO extra.rbdigital_digital_services (id, name, is_enabled, search_uri, vendor_key, display_order) VALUES (1, 'Evergreen', true, '/results', 'default', 1); INSERT INTO extra.rbdigital_digital_services (id, name, is_enabled, search_uri, vendor_key, display_order) VALUES (2, 'RBdigital', true, '/ebook_api/rbdigital/results', 'rbdigital', 2); -CREATE TABLE extra.rbdigital_library ( - home_library_url CHARACTER VARYING(250), - created_timestamp TIMESTAMP(6) WITH TIME ZONE DEFAULT now(), - updated_timestamp TIMESTAMP(6) WITH TIME ZONE DEFAULT now(), - id SERIAL PRIMARY KEY, - home_ou INTEGER NOT NULL REFERENCES actor.org_unit(id) -); -COMMENT ON TABLE extra.rbdigital_library IS 'A table defining each entity that may purchase titles.'; - CREATE TABLE extra.rbdigital_digital_services_authorized ( digital_services_id SMALLSERIAL PRIMARY KEY, digital_services_library_id CHARACTER VARYING(64), @@ -35,7 +26,7 @@ CREATE TABLE extra.rbdigital_digital_services_authorized ( digital_services_name CHARACTER VARYING(20), digital_services_library_url CHARACTER VARYING(250), id SERIAL NOT NULL, - library_id INTEGER REFERENCES extra.rbdigital_library(id), + library_id INTEGER, home_ou INTEGER ); COMMENT ON TABLE extra.rbdigital_digital_services_authorized IS 'A table listing the digital services authorized for each entity listed in the library table described above.'; diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.extras_rbdigital.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.extras_rbdigital.sql index 076db26222..284e123415 100644 --- a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.extras_rbdigital.sql +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.extras_rbdigital.sql @@ -17,15 +17,6 @@ COMMENT ON TABLE extra.rbdigital_digital_services IS 'This table should contain INSERT INTO extra.rbdigital_digital_services (id, name, is_enabled, search_uri, vendor_key, display_order) VALUES (1, 'Evergreen', true, '/results', 'default', 1); INSERT INTO extra.rbdigital_digital_services (id, name, is_enabled, search_uri, vendor_key, display_order) VALUES (2, 'RBdigital', true, '/ebook_api/rbdigital/results', 'rbdigital', 2); -CREATE TABLE extra.rbdigital_library ( - home_library_url CHARACTER VARYING(250), - created_timestamp TIMESTAMP(6) WITH TIME ZONE DEFAULT now(), - updated_timestamp TIMESTAMP(6) WITH TIME ZONE DEFAULT now(), - id SERIAL PRIMARY KEY, - home_ou INTEGER NOT NULL REFERENCES actor.org_unit(id) -); -COMMENT ON TABLE extra.rbdigital_library IS 'A table defining each entity that may purchase titles.'; - CREATE TABLE extra.rbdigital_digital_services_authorized ( digital_services_id SMALLSERIAL PRIMARY KEY, digital_services_library_id CHARACTER VARYING(64), @@ -33,7 +24,7 @@ CREATE TABLE extra.rbdigital_digital_services_authorized ( digital_services_name CHARACTER VARYING(20), digital_services_library_url CHARACTER VARYING(250), id SERIAL NOT NULL, - library_id INTEGER REFERENCES extra.rbdigital_library(id), + library_id INTEGER, home_ou INTEGER ); COMMENT ON TABLE extra.rbdigital_digital_services_authorized IS 'A table listing the digital services authorized for each entity listed in the library table described above.';