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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
new data frame format
matthew-heartful9216f1dc8ae2
diff --git a/screenpipe-server/src/migrations/20240716120001_update_ocr_text_table.sql b/screenpipe-server/src/migrations/20240716120001_update_ocr_text_table.sqlnew file mode 100644index 000000000..eca352918--- /dev/null+++ b/screenpipe-server/src/migrations/20240716120001_update_ocr_text_table.sql@@ -0,0 +1,17 @@+-- Add new columns to the ocr_text table+ALTER TABLE ocr_text ADD COLUMN text_json TEXT;+ALTER TABLE ocr_text ADD COLUMN new_text_json_vs_previous_frame TEXT;+ALTER TABLE ocr_text ADD COLUMN raw_data_output_from_OCR TEXT;++-- Create indices for the new columns+CREATE INDEX IF NOT EXISTS idx_ocr_text_text_json ON ocr_text(text_json);+CREATE INDEX IF NOT EXISTS idx_ocr_text_new_text_json_vs_previous_frame ON ocr_text(new_text_json_vs_previous_frame);+CREATE INDEX IF NOT EXISTS idx_ocr_text_raw_data_output_from_OCR ON ocr_text(raw_data_output_from_OCR);++-- Delete old columns+ALTER TABLE ocr_text DROP COLUMN Tesseract_TSV_object;+ALTER TABLE ocr_text DROP COLUMN diff_vs_previous_frame_by_line;++-- Rename existing columns+ALTER TABLE ocr_text RENAME COLUMN new_text_json TO new_text_json_vs_previous_frame;+ALTER TABLE ocr_text RENAME COLUMN data_output TO raw_data_output_from_OCR;\ No newline at end of file