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

removing fields from ocr text table

matthew-heartful55f09f437cde
diff --git a/screenpipe-server/src/migrations/202408080008_V2_remove_fields.sql b/screenpipe-server/src/migrations/202408080008_V2_remove_fields.sql
new file mode 100644
index 000000000..ab4313e00
--- /dev/null
+++ b/screenpipe-server/src/migrations/202408080008_V2_remove_fields.sql
@@ -0,0 +1,7 @@
+-- Drop all problematic indexes
+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;