From: Terran McCanna Date: Thu, 29 Jul 2021 16:48:16 +0000 (-0400) Subject: Add Federal Codes to Org Units for Annual Reports X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7e03eadce8ecd98ea65a956c0ccf16dc1ed84ee2;p=evergreen%2Fpines.git Add Federal Codes to Org Units for Annual Reports This adds two new fields to the org unit interface and makes those fields available to the reporter. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml index 67b4dd9e7f..d976149ffb 100644 --- a/Open-ILS/examples/fm_IDL.xml +++ b/Open-ILS/examples/fm_IDL.xml @@ -7275,6 +7275,8 @@ SELECT usr, + + diff --git a/Open-ILS/src/sql/Pg/005.schema.actors.sql b/Open-ILS/src/sql/Pg/005.schema.actors.sql index 1c6fb9d27f..afb2830aad 100644 --- a/Open-ILS/src/sql/Pg/005.schema.actors.sql +++ b/Open-ILS/src/sql/Pg/005.schema.actors.sql @@ -335,6 +335,8 @@ CREATE TABLE actor.org_unit ( name TEXT NOT NULL UNIQUE, email TEXT, phone TEXT, + fscskey TEXT, + fscs_seq TEXT, opac_visible BOOL NOT NULL DEFAULT TRUE, fiscal_calendar INT NOT NULL DEFAULT 1 -- foreign key constraint to be added later ); diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.federal_codes.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.federal_codes.sql new file mode 100644 index 0000000000..78af2e73fb --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.federal_codes.sql @@ -0,0 +1,5 @@ +BEGIN; + +ALTER TABLE actor.org unit ADD COLUMN fscskey TEXT, ADD COLUMN fscs_seq TEXT; + +COMMIT; \ No newline at end of file