Skip to content

Deprecate altering table configuration #6635

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

Merged

Conversation

morozov
Copy link
Member

@morozov morozov commented Nov 29, 2024

Q A
Type deprecation

The configuration governs the creation of the inner table objects (e.g. naming autogenerated indexes). Setting the configuration on an existing table, once some of the inner objects may have been created, makes little sense (the objects may need to be regenerated according to the new configuration but this isn't currently implemented).

Besides the maximum identifier length, the table configuration will contain other parameters in the future. Changing them on an existing table will also make no sense.

@morozov morozov added this to the 4.3.0 milestone Nov 29, 2024
@morozov morozov marked this pull request as ready for review November 29, 2024 20:24
@morozov morozov requested a review from greg0ire November 29, 2024 20:24
@morozov morozov merged commit 6b63cc5 into doctrine:4.3.x Nov 29, 2024
67 checks passed
@morozov morozov deleted the deprecate-altering-table-configuration branch November 29, 2024 20:46
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