-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12052 from transcom/B-18896-Redefine-order-audit-…
…table-ignored-columns-INT-2 B 18896 redefine order audit table ignored columns int 2
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
migrations/app/schema/20240222144140_redefine_order_audit_table_grade_col.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
SELECT add_audit_history_table( | ||
target_table := 'orders', | ||
audit_rows := BOOLEAN 't', | ||
audit_query_text := BOOLEAN 't', | ||
ignored_cols := ARRAY[ | ||
'created_at', | ||
'updated_at', | ||
'service_member_id', | ||
'uploaded_orders_id', | ||
'entitlement_id', | ||
'uploaded_amended_orders_id' | ||
] -- origin_duty_location_id and new_duty_location_id are fks but are utilized to display supplemental information | ||
); |