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

Force stable ordering of migration operations #155

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

jayvdb
Copy link
Collaborator

@jayvdb jayvdb commented Nov 1, 2023

Preliminary work related to #21

The order of tables becomes important when the SQL for each table needs to refer to other tables.
Especially for sqlite, where constraints need to be in the ADD TABLE and cant be added using ALTER TABLE c.f. https://www.sqlite.org/omitted.html

@jayvdb jayvdb requested a review from Electron100 November 1, 2023 03:11
@jayvdb jayvdb force-pushed the stable-migration-op-order branch from b54e3c7 to 01274a5 Compare November 1, 2023 08:20
@jayvdb jayvdb merged commit 88e0974 into Electron100:master Nov 2, 2023
1 check passed
@jayvdb jayvdb deleted the stable-migration-op-order branch November 2, 2023 01:43
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