From: Rogan Hamby Date: Fri, 17 Jun 2022 17:29:41 +0000 (-0400) Subject: LP#1978978: Remove public flag from biblio.record_note X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6b0608fe65f2aa60a426f8d3dda25bcfcbf0b6eb;p=evergreen%2Ftadl.git LP#1978978: Remove public flag from biblio.record_note Signed-off-by: Galen Charlton Signed-off-by: Rogan Hamby Signed-off-by: Jennifer Pringle --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index a4fb45b078..adacfda200 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -7628,7 +7628,6 @@ SELECT usr, - diff --git a/Open-ILS/src/sql/Pg/010.schema.biblio.sql b/Open-ILS/src/sql/Pg/010.schema.biblio.sql index 12731d2446..350ce4cd95 100644 --- a/Open-ILS/src/sql/Pg/010.schema.biblio.sql +++ b/Open-ILS/src/sql/Pg/010.schema.biblio.sql @@ -74,7 +74,6 @@ CREATE TABLE biblio.record_note ( value TEXT NOT NULL, creator INT NOT NULL DEFAULT 1, editor INT NOT NULL DEFAULT 1, - pub BOOL NOT NULL DEFAULT FALSE, deleted BOOL NOT NULL DEFAULT FALSE, create_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), edit_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now() diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.drop_public_flag_record_notes.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.drop_public_flag_record_notes.sql new file mode 100644 index 0000000000..03a24c8d8e --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.drop_public_flag_record_notes.sql @@ -0,0 +1,7 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); + +ALTER TABLE biblio.record_note DROP COLUMN pub; + +COMMIT;