From: scottmk Date: Wed, 23 Sep 2009 20:41:53 +0000 (+0000) Subject: Add four columns to action.aged_circulation that were previously X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5739958d5c5235321cb58637119790d3fb90a9c4;p=evergreen%2Fbjwebb.git Add four columns to action.aged_circulation that were previously added to action.circulation. M Open-ILS/src/sql/Pg/002.schema.config.sql A Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql M Open-ILS/examples/fm_IDL.xml git-svn-id: svn://svn.open-ils.org/ILS/trunk@14134 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index b9fa062e6..79bd4353c 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -2199,6 +2199,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + @@ -2234,6 +2238,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + + + diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index e0c0300f7..ba82fbe84 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -51,7 +51,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0018'); -- miker +INSERT INTO config.upgrade_log (version) VALUES ('0019'); -- mck9 CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql b/Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql new file mode 100644 index 000000000..9cb92f6d8 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql @@ -0,0 +1,17 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0019'); + +ALTER TABLE action.aged_circulation +ADD COLUMN workstation INT; + +ALTER TABLE action.aged_circulation +ADD COLUMN checkin_workstation INT; + +ALTER TABLE action.aged_circulation +ADD COLUMN checkin_scan_time TIMESTAMPTZ; + +ALTER TABLE action.aged_circulation +ADD COLUMN parent_circ BIGINT; + +COMMIT;