CCI-MOC / flocx-market

2 stars 9 forks source link

Updated db models to use TimestampMixin and standardize on project_id #110

Closed tzumainn closed 5 years ago

tzumainn commented 5 years ago

This change uses the TimestampMixin to standardize on created_at and updated_at for all our objects; note that these columns are automatically set and updated by oslo.db. It also removes creator-type columns, as those are superceded by project_id

TG-183

larsks commented 5 years ago

Oops, look like there are some failing tests...

tzumainn commented 5 years ago

Whoops - should be fixed now!

codecov-io commented 5 years ago

Codecov Report

Merging #110 into master will decrease coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
- Coverage   92.96%   92.96%   -0.01%     
==========================================
  Files          49       49              
  Lines        1777     1776       -1     
==========================================
- Hits         1652     1651       -1     
  Misses        125      125
Impacted Files Coverage Δ
...ocx_market/tests/unit/objects/test_object_offer.py 100% <ø> (ø) :arrow_up:
flocx_market/objects/contract.py 95.45% <ø> (ø) :arrow_up:
flocx_market/objects/bid.py 97.22% <ø> (ø) :arrow_up:
flocx_market/db/sqlalchemy/api.py 95.67% <ø> (-0.03%) :arrow_down:
flocx_market/objects/offer.py 97.22% <ø> (ø) :arrow_up:
..._market/tests/unit/objects/test_object_contract.py 100% <ø> (ø) :arrow_up:
flocx_market/tests/unit/objects/test_object_bid.py 100% <100%> (ø) :arrow_up:
...objects/test_object_offer_contract_relationship.py 100% <100%> (ø) :arrow_up:
flocx_market/tests/unit/api/test_app_offer.py 100% <100%> (ø) :arrow_up:
...s/unit/api/test_app_offer_contract_relationship.py 100% <100%> (ø) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c2d16b1...30e62c3. Read the comment docs.