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:
@@ -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`);
|
||||
Reference in New Issue
Block a user