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

dialect/sql/schema: no longer allocate a PK range for a join table #2950

Merged
merged 2 commits into from
Sep 23, 2022

Conversation

masseelch
Copy link
Collaborator

Not entirely sure yet we have to add some code to handle BC. @a8m Your thoughts?

For existing projects, it will no longer allocate a range in the types table. Since the join table never used any autoincrement, there is no information lost.

I am not sure thought, if I oversee something here. The range will stay allocated for existing projects and we cannot remove the allocation since this would result incorrect ranges for every type with a range suceeding the one allocated for any join table.

@masseelch masseelch requested a review from a8m September 23, 2022 08:31
@masseelch masseelch changed the title doc/md: add atlas migration import to versioned docs doc/md: no longer allocate a PK range for a join table Sep 23, 2022
@masseelch masseelch force-pushed the remove_join_table_from_types_table branch from 1e7d159 to b8e160e Compare September 23, 2022 08:33
@masseelch masseelch changed the title doc/md: no longer allocate a PK range for a join table dialect/sql/schema: no longer allocate a PK range for a join table Sep 23, 2022
@masseelch masseelch force-pushed the remove_join_table_from_types_table branch from 05e0023 to 10f30f9 Compare September 23, 2022 09:39
@a8m a8m merged commit 139725e into master Sep 23, 2022
@a8m a8m deleted the remove_join_table_from_types_table branch September 23, 2022 10:40
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.

None yet

2 participants