Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused state_id foreign key #35

Merged
merged 10 commits into from
Aug 17, 2020
Merged

Remove unused state_id foreign key #35

merged 10 commits into from
Aug 17, 2020

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented Aug 10, 2020

Thanks for contributing to Prefect Server!

Please describe your work and make sure your PR:

  • adds new tests (if appropriate)
  • adds a changelog entry to the changes/ directory (if appropriate)

Note that your PR will not be reviewed unless these two boxes are checked.

What does this PR change?

This PR removes a foreign key on task_run.state_id and flow_run.state_id that once pointed to the current state; it is unused and creates performance issues.

Why is this PR important?

@jlowin jlowin requested a review from cicdw as a code owner August 10, 2020 14:20
@codecov-commenter
Copy link

codecov-commenter commented Aug 10, 2020

Codecov Report

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

@github-actions github-actions bot added the API label Aug 11, 2020
@cicdw cicdw merged commit df91069 into master Aug 17, 2020
@cicdw cicdw deleted the state-id branch August 17, 2020 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants