Skip to content

Expose `on_delete` and `on_update` fields for ForeignKey field

d292a56
Select commit
Loading
Failed to load commit list.
Draft

feat!: Expose on_delete and on_update fields for ForeignKey field #576

Expose `on_delete` and `on_update` fields for ForeignKey field
d292a56
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 19, 2026 in 0s

90.28% (-0.03%) compared to 4572108

View this Pull Request on Codecov

90.28% (-0.03%) compared to 4572108

Details

Codecov Report

❌ Patch coverage is 81.81818% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot-codegen/src/model.rs 75.00% 10 Missing and 2 partials ⚠️
Files with missing lines Coverage Δ
cot-cli/src/migration_generator.rs 89.21% <100.00%> (+0.11%) ⬆️
cot-codegen/src/model.rs 92.15% <75.00%> (-2.54%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.