Skip to content

fix(db): widen charges.tax_rate to numeric(8,4) - #392

Merged
telivity-otaip merged 3 commits into
mainfrom
cursor/staging-p0-payment-charge-bb08
Oct 25, 2026
Merged

telivity-otaip merged 3 commits into
mainfrom
cursor/staging-p0-payment-charge-bb08

Conversation

@telivity-otaip

@telivity-otaip telivity-otaip commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Widen charges.tax_rate from numeric(5,4) to numeric(8,4) so it matches tax_rules.rate.

Test plan

  • Migration applies cleanly
  • A charge with tax rate 20 stores the rate
Open in Web Open in Cursor 

Match the scale used by tax_rules.rate.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/staging-p0-payment-charge-bb08 branch from e528251 to 4d1c8c0 Compare October 25, 2026 06:12
@telivity-otaip
telivity-otaip merged commit a89f413 into main Oct 25, 2026
5 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