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

fix(db): rename migration to new timestamp to avoid conflicts

Louis Beaumont4930a32f512d
diff --git a/screenpipe-db/src/migrations/20250201000000_add_accessibility_and_input_tables.sql b/screenpipe-db/src/migrations/20250202000000_add_accessibility_and_input_tables.sql
similarity index 92%
rename from screenpipe-db/src/migrations/20250201000000_add_accessibility_and_input_tables.sql
rename to screenpipe-db/src/migrations/20250202000000_add_accessibility_and_input_tables.sql
index 8afc56d6a..6cd298452 100644
--- a/screenpipe-db/src/migrations/20250201000000_add_accessibility_and_input_tables.sql
+++ b/screenpipe-db/src/migrations/20250202000000_add_accessibility_and_input_tables.sql
@@ -149,13 +149,6 @@ CREATE TRIGGER IF NOT EXISTS ui_events_au AFTER UPDATE ON ui_events BEGIN
END;
-- =============================================================================
--- ADD SYNC COLUMNS TO UI_MONITORING (for backwards compatibility)
+-- Note: ui_monitoring table is deprecated in favor of ui_events
+-- Sync columns are only on the new ui_events table
-- =============================================================================
-
-ALTER TABLE ui_monitoring ADD COLUMN sync_id TEXT;
-ALTER TABLE ui_monitoring ADD COLUMN machine_id TEXT;
-ALTER TABLE ui_monitoring ADD COLUMN synced_at DATETIME;
-
-CREATE INDEX IF NOT EXISTS idx_ui_monitoring_sync_id ON ui_monitoring(sync_id);
-CREATE INDEX IF NOT EXISTS idx_ui_monitoring_synced_at ON ui_monitoring(synced_at);
-CREATE INDEX IF NOT EXISTS idx_ui_monitoring_unsynced ON ui_monitoring(synced_at) WHERE synced_at IS NULL;
diff --git a/terminator b/terminator
new file mode 160000
index 000000000..64e52715e
--- /dev/null
+++ b/terminator
@@ -0,0 +1 @@
+Subproject commit 64e52715e6eba17c483466198710ee6c18ba747d