Skip to content

database consistency upgrade#8498

Open
starswan wants to merge 2 commits intomainfrom
update-db-consistency
Open

database consistency upgrade#8498
starswan wants to merge 2 commits intomainfrom
update-db-consistency

Conversation

@starswan
Copy link
Contributor

@starswan starswan commented Feb 4, 2026

Trello card URL

https://trello.com/c/4PPBNG9v/2590-upgrade-database-consistency-gem-to-latest-version

Changes in this PR:

Upgrade database consistency, add extra destroy cascades

has_many :organisations, through: :organisation_publishers
has_many :publisher_preferences, dependent: :destroy
has_many :vacancies
has_many :vacancies, dependent: :destroy
Copy link
Collaborator

@KyleMacPherson KyleMacPherson Feb 6, 2026

Choose a reason for hiding this comment

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

Not sure about this one! I think if we destroy a publisher we would want to keep the vacancies

@starswan starswan force-pushed the update-db-consistency branch from 82c0fc6 to 3cc1114 Compare February 6, 2026 12:44
@starswan starswan marked this pull request as ready for review February 6, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants