fix(db): add statement-breakpoint to worksheet_settings migration

- Add --> statement-breakpoint between CREATE TABLE and CREATE INDEX
- Required by better-sqlite3 to handle multiple statements

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-11-06 06:32:31 -06:00
parent 8231d24f8c
commit 42e1a71292

View File

@@ -9,7 +9,7 @@ CREATE TABLE `worksheet_settings` (
`created_at` INTEGER NOT NULL,
`updated_at` INTEGER NOT NULL,
FOREIGN KEY (`user_id`) REFERENCES `users`(`id`) ON DELETE CASCADE
);
);--> statement-breakpoint
-- Create index for efficient lookups by user and worksheet type
CREATE INDEX `worksheet_settings_user_type_idx` ON `worksheet_settings` (`user_id`, `worksheet_type`);