care icon indicating copy to clipboard operation
care copied to clipboard

Fixed: Added in_use field to track used bed

Open aeswibon opened this issue 1 year ago • 2 comments

Updates

  • [x] Fixes #936
  • [x] Added in_use field to Bed model to track used bed
  • [x] Added migration function to update in_use field for previous bed models
  • [x] Updated serializer to update in_use field during bed update

aeswibon avatar Oct 09 '22 05:10 aeswibon

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarcloud[bot] avatar Oct 09 '22 06:10 sonarcloud[bot]

Codecov Report

Base: 56.06% // Head: 56.05% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (b8b7c44) compared to base (0beaa72). Patch coverage: 25.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1060      +/-   ##
==========================================
- Coverage   56.06%   56.05%   -0.01%     
==========================================
  Files         175      175              
  Lines        8629     8634       +5     
  Branches     1462     1477      +15     
==========================================
+ Hits         4838     4840       +2     
- Misses       3739     3742       +3     
  Partials       52       52              
Impacted Files Coverage Δ
care/facility/api/serializers/bed.py 40.17% <0.00%> (-1.06%) :arrow_down:
care/facility/models/bed.py 83.78% <100.00%> (+0.45%) :arrow_up:
care/users/api/viewsets/change_password.py 61.53% <0.00%> (+1.53%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov-commenter avatar Oct 09 '22 06:10 codecov-commenter

Fixed in #1082

aeswibon avatar Oct 28 '22 09:10 aeswibon