From: dbs Date: Fri, 16 Jul 2010 19:55:37 +0000 (+0000) Subject: It is important to update the upgrade_log to prevent collisions and such. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=21e74a9bf002b5ba885e0a17ae95b5bfbbf6f427;p=evergreen%2Ftadl.git It is important to update the upgrade_log to prevent collisions and such. Updating config.upgrade_log to 0340. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16967 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 7e6b3f106f..69664c8327 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 ('0339'); -- dbs +INSERT INTO config.upgrade_log (version) VALUES ('0340'); -- dbs CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0340.schema.serials_remove_owner.sql b/Open-ILS/src/sql/Pg/upgrade/0340.schema.serials_remove_owner.sql index e2fb634dca..493918cf33 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0340.schema.serials_remove_owner.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0340.schema.serials_remove_owner.sql @@ -2,6 +2,8 @@ -- Adjust the table and affected functions accordingly BEGIN; +INSERT INTO config.upgrade_log (version) VALUES ('0340'); -- dbs + ALTER TABLE serial.record_entry DROP COLUMN owner; CREATE OR REPLACE FUNCTION maintain_control_numbers() RETURNS TRIGGER AS $func$