Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fixed 8th migration

matthew-heartfulca6345234b17
diff --git a/screenpipe-server/src/migrations/20240808120008_V2_remove_fields.sql b/screenpipe-server/src/migrations/20240808120008_drop_problematic_indexes.sql
similarity index 65%
rename from screenpipe-server/src/migrations/20240808120008_V2_remove_fields.sql
rename to screenpipe-server/src/migrations/20240808120008_drop_problematic_indexes.sql
index ab4313e00..2b9cf9ee7 100644
--- a/screenpipe-server/src/migrations/20240808120008_V2_remove_fields.sql
+++ b/screenpipe-server/src/migrations/20240808120008_drop_problematic_indexes.sql
@@ -1,7 +1,10 @@
--- Drop all problematic indexes
+-- Add to the "up" migration
DROP INDEX IF EXISTS idx_ocr_text_raw_data_output_from_ocr;
DROP INDEX IF EXISTS idx_ocr_text_Tesseract_TSV_object;
DROP INDEX IF EXISTS idx_ocr_text_unique_text_lines_24hr;
DROP INDEX IF EXISTS idx_ocr_text_unique_text_lines_1hr;
DROP INDEX IF EXISTS idx_ocr_text_unique_text_lines_1m;
DROP INDEX IF EXISTS idx_ocr_text_diff_vs_previous_frame_by_line;
+
+-- Add to the "down" migration (optional, if you want to be able to revert)
+-- You can leave this empty or add commands to recreate the indexes if needed
\ No newline at end of file