fix: Move batch_id index to migration to fix existing DB startup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-04-07 15:43:07 -04:00
parent d8ff9154a1
commit a077add9c4
1 changed files with 0 additions and 1 deletions

View File

@ -14,4 +14,3 @@ CREATE TABLE IF NOT EXISTS files (
CREATE INDEX IF NOT EXISTS idx_files_expires_at ON files(expires_at) WHERE expires_at IS NOT NULL;
CREATE INDEX IF NOT EXISTS idx_files_delete_token ON files(delete_token);
CREATE INDEX IF NOT EXISTS idx_files_batch_id ON files(batch_id) WHERE batch_id IS NOT NULL;