Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B 18896 redefine order audit table ignored columns int 2 #12052

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
);