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

Rework SQLite auto-increment introspection #6862

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

morozov
Copy link
Member

@morozov morozov commented Mar 19, 2025

With this change, only INTEGER PRIMARY KEY AUTOINCREMENT SQLite columns will be introspected as auto-incremented. The INTEGER PRIMARY KEY ones won't. This way, the logic of introspection will be consistent with the logic of declaring the schema.

Fixes #6844.

@morozov morozov merged commit 48e87f5 into doctrine:5.0.x Mar 19, 2025
64 checks passed
@morozov morozov deleted the sqlite-auto-increment-introspection branch March 19, 2025 13:51
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.

Inconsistent semantics of auto-increment declaration and introspection on SQLite
2 participants