Skip to content

Adds schema support to audit triggers/functions#135

Merged
DanCardin merged 2 commits intoDanCardin:mainfrom
nlocascio:nl/support-audit-schemas
Feb 12, 2026
Merged

Adds schema support to audit triggers/functions#135
DanCardin merged 2 commits intoDanCardin:mainfrom
nlocascio:nl/support-audit-schemas

Conversation

@nlocascio
Copy link
Contributor

Ensures audit tables, functions, and triggers are created in the
same schema as the audited table.

Allows specifying a schema in the @audit decorator, which overrides
the table's schema.

This enables auditing in multi-schema environments by correctly
qualifying function names when creating triggers.

nlocascio and others added 2 commits February 11, 2026 14:38
Ensures audit tables, functions, and triggers are created in the
same schema as the audited table.

Allows specifying a schema in the `@audit` decorator, which overrides
the table's schema.

This enables auditing in multi-schema environments by correctly
qualifying function names when creating triggers.
@codecov
Copy link

codecov bot commented Feb 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.83%. Comparing base (669ee45) to head (31d2756).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #135   +/-   ##
=======================================
  Coverage   89.83%   89.83%           
=======================================
  Files          86       86           
  Lines        4111     4112    +1     
  Branches      856      856           
=======================================
+ Hits         3693     3694    +1     
  Misses        338      338           
  Partials       80       80           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DanCardin DanCardin merged commit c0100a5 into DanCardin:main Feb 12, 2026
19 checks passed
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