Skip to content

Commit

Permalink
Merge pull request #12052 from transcom/B-18896-Redefine-order-audit-…
Browse files Browse the repository at this point in the history
…table-ignored-columns-INT-2

B 18896 redefine order audit table ignored columns int 2
  • Loading branch information
traskowskycaci authored Feb 26, 2024
2 parents 4b0bb5e + 73eb6a8 commit 3e7b06d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 2 additions & 1 deletion migrations/app/migrations_manifest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -898,8 +898,9 @@
20240206173201_update_shipment_address_update_table_sit_and_distance_columns.up.sql
20240207173709_updateTransportationOffices.up.sql
20240212150834_20240212_disable_homesafe_stg_cert.up.sql
20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql
20240214213247_updateTransportationOfficesGbloc.up.sql
20240215151854_20240215_remove_expired_homesafe_prd_cert.up.sql
20240222144140_redefine_order_audit_table_grade_col.up.sql
20240222154935_add_sit_delivery_miles_to_mto_service_items.up.sql
20240223144515_add_pro_gear_weights_to_mto_shipments.up.sql
20240223200739_updateDutyLocationsZip.up.sql
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
);

0 comments on commit 3e7b06d

Please sign in to comment.