Skip to content

Commit 3cc6fcf

Browse files
committed
feat(server):add SQL files for creating and dropping idx_chunk_metadata_id_dataset_id index
1 parent 877cc22 commit 3cc6fcf

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

  • server/migrations/2025-04-14-214201_add-dataset-id-id-chunk_metadata-index
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- This file should undo anything in `up.sql`
2+
DROP INDEX IF EXISTS idx_chunk_metadata_id_dataset_id;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-- Your SQL goes here
2+
CREATE INDEX idx_chunk_metadata_id_dataset_id ON chunk_metadata (dataset_id, id);

0 commit comments

Comments
 (0)