Skip to content

Conversation

@yan-vikng-dev
Copy link

@yan-vikng-dev yan-vikng-dev commented Oct 24, 2025

Fixes #3574

Avoid duplicate CREATE INDEX during SQLite/D1 push table recreation by removing index creation in _moveDataStatements. Indexes are created once from planned create_index statements. Adds a regression test.

@yan-vikng-dev yan-vikng-dev force-pushed the fix/sqlite-push-duplicate-indexes branch from 7e5df3c to f58e918 Compare October 24, 2025 15:39
…on\n\nFixes duplicate index creation for SQLite/D1 push by removing index creation from the recreate-table helper; indexes are created once from planned create_index statements. Adds regression test to ensure a single CREATE UNIQUE INDEX is emitted.\n\nRefs: drizzle-team#3574
@yan-vikng-dev yan-vikng-dev force-pushed the fix/sqlite-push-duplicate-indexes branch from f58e918 to 196709b Compare October 24, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant