hmpf / easydmp

MIT License
7 stars 2 forks source link

Squash our migrations #174

Closed hmpf closed 3 years ago

hmpf commented 3 years ago

Clean away all traces of the 3rd-party jsonfield library by squashing it out of database history.

codecov[bot] commented 3 years ago

Codecov Report

Merging #174 (b946c18) into master (dae2dbd) will increase coverage by 0.20%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
+ Coverage   55.15%   55.36%   +0.20%     
==========================================
  Files         102      108       +6     
  Lines        5903     5959      +56     
==========================================
+ Hits         3256     3299      +43     
- Misses       2647     2660      +13     
Impacted Files Coverage Δ
...h/migrations/0001_squashed_0003_upstream_change.py 100.00% <100.00%> (ø)
.../migrations/0001_squashed_0011_section_optional.py 100.00% <100.00%> (ø)
.../migrations/0001_squashed_0002_convert_to_jsonb.py 100.00% <100.00%> (ø)
.../migrations/0001_squashed_0002_convert_to_jsonb.py 100.00% <100.00%> (ø)
...igrations/0001_squashed_0005_auto_20201016_1539.py 100.00% <100.00%> (ø)
..._20201111_1411_squashed_0010_delete_plancomment.py 100.00% <100.00%> (ø)
.../migrations/0002_change_booleanquestion_answers.py 66.66% <0.00%> (-33.34%) :arrow_down:
...asydmp/eestore/migrations/0002_convert_to_jsonb.py 60.00% <0.00%> (-13.34%) :arrow_down:
...sydmp/eventlog/migrations/0002_convert_to_jsonb.py 60.00% <0.00%> (-13.34%) :arrow_down:
...c/easydmp/plan/migrations/0008_convert_to_jsonb.py 45.00% <0.00%> (-10.00%) :arrow_down:
... and 7 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 dae2dbd...b946c18. Read the comment docs.

hmpf commented 3 years ago

Has been tested manually by creating a new database from the squashed migrations and checking that all the tables/constraints/sequences/indexes are in place in the new database, by using the "Schema diff"-functionality in pgadmin4.

hmpf commented 3 years ago

Backup prod db right before running this?

Willdo.