diff --git a/backend/migrations/20240220222323_remove_unique_index.down.sql b/backend/migrations/20240220222323_remove_unique_index.down.sql new file mode 100644 index 0000000000..d2f607c5b8 --- /dev/null +++ b/backend/migrations/20240220222323_remove_unique_index.down.sql @@ -0,0 +1 @@ +-- Add down migration script here diff --git a/backend/migrations/20240220222323_remove_unique_index.up.sql b/backend/migrations/20240220222323_remove_unique_index.up.sql new file mode 100644 index 0000000000..18fff0ce7c --- /dev/null +++ b/backend/migrations/20240220222323_remove_unique_index.up.sql @@ -0,0 +1,4 @@ +-- Add up migration script here +DROP INDEX dependency_map_imported_path_idx; + +CREATE INDEX IF NOT EXISTS dependency_map_imported_path_idx ON dependency_map (workspace_id, imported_path);