From ae311fe6db9ab56a162608cf89a1a8e647a663e4 Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 5 Aug 2010 04:46:38 +0000 Subject: [PATCH] updating some auditor tables that were causing problems in cstore with missing columns, but not sure how to reset the _lifecycle views git-svn-id: svn://svn.open-ils.org/ILS/trunk@17090 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../sql/Pg/upgrade/0362.schema.acq-serials-integration.sql | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 55b5deec3..71e795b05 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -68,7 +68,7 @@ CREATE TABLE config.upgrade_log ( install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW() ); -INSERT INTO config.upgrade_log (version) VALUES ('0361'); -- phasefx +INSERT INTO config.upgrade_log (version) VALUES ('0362'); -- phasefx CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql b/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql new file mode 100644 index 000000000..4d639971e --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0362.schema.acq-serials-integration.sql @@ -0,0 +1,11 @@ +BEGIN; + +INSERT INTO config.upgrade_log (version) VALUES ('0362'); -- phasefx + +ALTER TABLE auditor.acq_invoice_item_history ADD COLUMN target BIGINT; +ALTER TABLE auditor.asset_copy_history ADD COLUMN cost NUMERIC(8,2); + +-- now what about the auditor.*_lifecycle views?? + +COMMIT; + -- 2.11.0