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

Use more foreign keys for cascading deletions #2577

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Conversation

zackgalbreath
Copy link
Contributor

Use foreign keys to automatically delete records from the following tables:

  • buildfailure2argument
  • test2image
  • updatefile

Use foreign keys to automatically delete records from the following tables:
* buildfailure2argument
* test2image
* updatefile
@zackgalbreath zackgalbreath marked this pull request as draft November 20, 2024 20:13
This "TestSchema" migration was introduced in CDash v3.0. We recommend
upgrading any remaining CDash 2.x instances to CDash 3.6 (preferably older)
before continuing to upgrade to the latest release.
@zackgalbreath zackgalbreath marked this pull request as ready for review November 20, 2024 20:45
@williamjallen williamjallen added this to the v3.7 milestone Nov 20, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's worth noting that I currently have partially completed work locally which will formalize the testing of migrations by running each one forwards->backwards->forwards with nontrivial data in the database. That work will replace any test coverage lost here.

@williamjallen williamjallen added this pull request to the merge queue Nov 20, 2024
Merged via the queue into master with commit f88bd44 Nov 20, 2024
6 checks passed
@williamjallen williamjallen deleted the more_fks branch November 20, 2024 21:26
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.

2 participants