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

Add defaults to models with DB defaults set #796

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

michelletran-codecov
Copy link
Contributor

This is getting this more similar to how the models are defined in Django

Another small fix pulled out from #729 .

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

This is getting this more similar to how the models are defined in Django
@codecov-notifications
Copy link

codecov-notifications bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #796   +/-   ##
=======================================
  Coverage   98.00%   98.00%           
=======================================
  Files         443      443           
  Lines       36566    36566           
=======================================
  Hits        35838    35838           
  Misses        728      728           
Flag Coverage Δ
integration 98.00% <100.00%> (ø)
unit 98.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 95.87% <100.00%> (ø)
OutsideTasks 97.99% <100.00%> (ø)
Files with missing lines Coverage Δ
database/models/core.py 97.78% <100.00%> (ø)

@codecov-qa
Copy link

codecov-qa bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.00%. Comparing base (4e88e28) to head (03baead).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #796   +/-   ##
=======================================
  Coverage   98.00%   98.00%           
=======================================
  Files         443      443           
  Lines       36566    36566           
=======================================
  Hits        35838    35838           
  Misses        728      728           
Flag Coverage Δ
integration 98.00% <100.00%> (ø)
unit 98.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 95.87% <100.00%> (ø)
OutsideTasks 97.99% <100.00%> (ø)
Files with missing lines Coverage Δ
database/models/core.py 97.78% <100.00%> (ø)

Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.00%. Comparing base (4e88e28) to head (03baead).

✅ All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #796   +/-   ##
=======================================
  Coverage   98.00%   98.00%           
=======================================
  Files         443      443           
  Lines       36566    36566           
=======================================
  Hits        35838    35838           
  Misses        728      728           
Flag Coverage Δ
integration 98.00% <100.00%> (ø)
unit 98.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 95.87% <100.00%> (ø)
OutsideTasks 97.99% <100.00%> (ø)
Files Coverage Δ
database/models/core.py 97.78% <100.00%> (ø)

@michelletran-codecov michelletran-codecov marked this pull request as ready for review October 17, 2024 19:00
@michelletran-codecov michelletran-codecov requested a review from a team October 17, 2024 19:01
@michelletran-codecov michelletran-codecov added this pull request to the merge queue Oct 17, 2024
Merged via the queue into main with commit 3aca4aa Oct 17, 2024
22 of 23 checks passed
@michelletran-codecov michelletran-codecov deleted the fix_some_defaults branch October 17, 2024 19:51
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