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

feat: add audit history objects to new database version 11 #1061

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

john-fletcher-aot
Copy link
Collaborator

@john-fletcher-aot john-fletcher-aot commented Jan 9, 2024

Description

Audit history tables are added to business tables, with triggers to populate the history tables on insert, update, and delete. Also includes a small change to the database migration scripts to deal with the very large size of DDL included in v11.

Fixes # ORV2-504

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Ran full db reset script plus incremental up and down scripts, verified with local database that no errors are generated
  • Executed incremental upgrade against ORBC database in DEV, verified no errors
  • Migrated TPS clients and permits, verified they completed as expected and have records added to history tables
  • Manually edited records, confirmed triggers are adding history and end-dating previous versions

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:

Copy link
Collaborator

@praju-aot praju-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@john-fletcher-aot john-fletcher-aot merged commit eb596f3 into main Jan 9, 2024
16 checks passed
@john-fletcher-aot john-fletcher-aot deleted the ORV2-504-v11 branch January 9, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants