From a986f2a4ef82b90d524e6fb5e388eac58485e52c Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 15 Sep 2020 16:38:24 -0400 Subject: [PATCH] LP#1879983: stamp schema update Signed-off-by: Galen Charlton --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- .../Pg/upgrade/{XXXX.schema.curbside.sql => 1235.schema.curbside.sql} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename Open-ILS/src/sql/Pg/upgrade/{XXXX.schema.curbside.sql => 1235.schema.curbside.sql} (99%) diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 351a9a4dc7..f0bb0d317e 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1234', :eg_version); -- phasefx/gmcharlt/terranm/charp +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1235', :eg_version); -- miker/mmorgan/gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.curbside.sql b/Open-ILS/src/sql/Pg/upgrade/1235.schema.curbside.sql similarity index 99% rename from Open-ILS/src/sql/Pg/upgrade/XXXX.schema.curbside.sql rename to Open-ILS/src/sql/Pg/upgrade/1235.schema.curbside.sql index 7a6896cf35..213665ad3f 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.curbside.sql +++ b/Open-ILS/src/sql/Pg/upgrade/1235.schema.curbside.sql @@ -1,5 +1,7 @@ BEGIN; +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1235', :eg_version); + CREATE TABLE action.curbside ( id SERIAL PRIMARY KEY, patron INT NOT NULL REFERENCES actor.usr (id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED, -- 2.11.0