From: Rogan Hamby Date: Fri, 17 Jun 2022 17:29:41 +0000 (-0400) Subject: lp1978978_remove_public_flag removes the public flag from the table and fm_IDL.xml X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Frogan%2Flp1978978_remove_public_flag;p=working%2FEvergreen.git lp1978978_remove_public_flag removes the public flag from the table and fm_IDL.xml --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index d036e9ddd4..1b13dd5d11 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -7617,7 +7617,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;