openclimatefix / nowcasting_datamodel

Datamodel for the nowcasting project
6 stars 6 forks source link

Alembic #9

Closed peterdudfield closed 2 years ago

peterdudfield commented 2 years ago

Pull Request

Description

add database migrations

How Has This Been Tested?

-normal unitests

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #9 (3fba6e6) into main (46de7d6) will decrease coverage by 5.69%. The diff coverage is 74.35%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   98.61%   92.91%   -5.70%     
==========================================
  Files          11       16       +5     
  Lines         360      466     +106     
==========================================
+ Hits          355      433      +78     
- Misses          5       33      +28     
Impacted Files Coverage Δ
...odel/migrations/forecast/versions/14e1747b9710_.py 30.76% <30.76%> (ø)
..._datamodel/migrations/pv/versions/580416fad3df_.py 44.44% <44.44%> (ø)
nowcasting_datamodel/connection.py 93.75% <80.00%> (+4.86%) :arrow_up:
nowcasting_datamodel/migrations/app.py 96.87% <96.87%> (ø)
nowcasting_datamodel/migrations/forecast/env.py 100.00% <100.00%> (ø)
nowcasting_datamodel/migrations/pv/env.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/models.py 100.00% <100.00%> (ø)
nowcasting_datamodel/models/pv.py 100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more