Skip to content

Conversation

markstory
Copy link
Member

When a primary key exists on a string column type without a default, sqlite will return that primary key in index_info(). When we get that primary key, we don't need to scan the columns.

This improves efficency and fixes regressions that would occur in migrations.

When a primary key exists on a string column type without a default,
sqlite will return that primary key in index_info(). When we get that
primary key, we don't need to scan the columns.

This improves efficency and fixes regressions that would occur in
migrations.
@markstory markstory added this to the 5.2.3 milestone Apr 22, 2025
@dereuromark dereuromark merged commit 733ab25 into 5.x Apr 22, 2025
13 checks passed
@dereuromark dereuromark deleted the fix-sqlite-primary branch April 22, 2025 19:17
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