fabric8-services / fabric8-wit

wit stands for Work Item Tracker
http://devdoc.almighty.io/
Apache License 2.0
45 stars 86 forks source link

WIP: cascading soft delete #2324

Open kwk opened 5 years ago

kwk commented 5 years ago

PLEASE: DO NOT MERGE WHEN THERE'S ONLY ONE APPROVAL.

See https://github.com/fabric8-services/fabric8-wit/blob/12f42bbe747f33bf0e3fe485d35ff66ac021d613/docs/cascading-soft-delete.md#cascading-soft-deletes for a description of what this PR does and why.

In addition to adding the cascading soft-delete mechanism for our complete database, I had to make a few adjustments to some tables:

codecov[bot] commented 5 years ago

Codecov Report

Merging #2324 into master will decrease coverage by 0.17%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2324      +/-   ##
==========================================
- Coverage   70.17%   69.99%   -0.18%     
==========================================
  Files         171      171              
  Lines       16625    16610      -15     
==========================================
- Hits        11666    11626      -40     
- Misses       3829     3861      +32     
+ Partials     1130     1123       -7
Impacted Files Coverage Δ
remoteworkitem/jira.go 75% <0%> (-25%) :arrow_down:
remoteworkitem/scheduler.go 53.65% <0%> (-7.32%) :arrow_down:
gormsupport/postgres.go 39.28% <0%> (-3.14%) :arrow_down:
controller/workitem.go 78.27% <0%> (-2.91%) :arrow_down:
search/search_repository.go 76.44% <0%> (-1.14%) :arrow_down:
spacetemplate/importer/repository.go 73.33% <0%> (ø) :arrow_up:
migration/migration.go 69.28% <0%> (+0.11%) :arrow_up:

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 9dc1c08...9905137. Read the comment docs.