From c20bfea3494cd8a5930f7be1bb5e1bb0b85fd180 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Fri, 8 Mar 2019 13:34:53 -0500 Subject: [PATCH] LP#1709698 - stamping upgrade script Signed-off-by: Chris Sharp --- Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +- Open-ILS/src/sql/Pg/upgrade/1156.schema.reporter.template.sql | 7 +++++++ Open-ILS/src/sql/Pg/upgrade/xxxx.schema.reporter.template.sql | 2 -- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 Open-ILS/src/sql/Pg/upgrade/1156.schema.reporter.template.sql delete mode 100644 Open-ILS/src/sql/Pg/upgrade/xxxx.schema.reporter.template.sql diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 5d4b323a0d..cc481e9fdc 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 ('1155', :eg_version); -- berick/rogan +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1156', :eg_version); -- rogan/jvwoolf/csharp CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1156.schema.reporter.template.sql b/Open-ILS/src/sql/Pg/upgrade/1156.schema.reporter.template.sql new file mode 100644 index 0000000000..7099f60e83 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1156.schema.reporter.template.sql @@ -0,0 +1,7 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1155', :eg_version); + +ALTER TABLE reporter.template ALTER COLUMN description SET DEFAULT ''; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.reporter.template.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.reporter.template.sql deleted file mode 100644 index 819b562184..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.reporter.template.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE reporter.template ALTER COLUMN description SET DEFAULT ''; - -- 2.11.0