From: Bill Erickson Date: Wed, 13 Mar 2013 20:04:11 +0000 (-0400) Subject: LP 1154150 DB upgrade stamping X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5650ad93e94f2a58fbc5fd9b9f6249c364bb586c;p=contrib%2FConifer.git LP 1154150 DB upgrade stamping Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0779.schema.acq.distribution_formula.expansion.sql b/Open-ILS/src/sql/Pg/upgrade/0779.schema.acq.distribution_formula.expansion.sql new file mode 100644 index 0000000000..148677e4a5 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0779.schema.acq.distribution_formula.expansion.sql @@ -0,0 +1,10 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0779', :eg_version); + +ALTER TABLE acq.distribution_formula_entry + ADD COLUMN fund INT REFERENCES acq.fund (id), + ADD COLUMN circ_modifier TEXT REFERENCES config.circ_modifier (code), + ADD COLUMN collection_code TEXT ; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq.distribution_formula.expansion.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq.distribution_formula.expansion.sql deleted file mode 100644 index 391bcf8fd1..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.acq.distribution_formula.expansion.sql +++ /dev/null @@ -1,10 +0,0 @@ -BEGIN; - ---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -ALTER TABLE acq.distribution_formula_entry - ADD COLUMN fund INT REFERENCES acq.fund (id), - ADD COLUMN circ_modifier TEXT REFERENCES config.circ_modifier (code), - ADD COLUMN collection_code TEXT ; - -COMMIT;