LP1396764 - Stamping upgrade script
authorMichele Morgan <mmorgan@noblenet.org>
Thu, 27 Oct 2022 14:39:33 +0000 (10:39 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Thu, 27 Oct 2022 14:39:33 +0000 (10:39 -0400)
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql [deleted file]

index 991f4ee..68a2956 100644 (file)
@@ -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 ('1342', :eg_version); -- jeffdavis/blake/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1343', :eg_version); -- khuckins/christine-burns/mmorgan
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note b/Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note
new file mode 100644 (file)
index 0000000..90de8ba
--- /dev/null
@@ -0,0 +1,13 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1343', :eg_version);
+
+ALTER TABLE actor.hours_of_operation
+    ADD COLUMN dow_0_note TEXT,
+    ADD COLUMN dow_1_note TEXT,
+    ADD COLUMN dow_2_note TEXT,
+    ADD COLUMN dow_3_note TEXT,
+    ADD COLUMN dow_4_note TEXT,
+    ADD COLUMN dow_5_note TEXT,
+    ADD COLUMN dow_6_note TEXT;
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql
deleted file mode 100644 (file)
index c8555d9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-BEGIN;\r
-\r
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);\r
-\r
-ALTER TABLE actor.hours_of_operation\r
-    ADD COLUMN dow_0_note TEXT,\r
-    ADD COLUMN dow_1_note TEXT,\r
-    ADD COLUMN dow_2_note TEXT,\r
-    ADD COLUMN dow_3_note TEXT,\r
-    ADD COLUMN dow_4_note TEXT,\r
-    ADD COLUMN dow_5_note TEXT,\r
-    ADD COLUMN dow_6_note TEXT;\r
-COMMIT;
\ No newline at end of file