SurfSense/surfsense_backend/app/automations/persistence
CREDO23 c6d4e5df7c refactor(db): rename searchspaces table to workspaces
Phase 1 (rename DB) commit 1i: rename the SearchSpace table to workspaces
and flip all 24 inbound FK target strings (20 in db.py + the 4 satellite
models), plus the raw-SQL searchspaces references in the obsidian and
google-unification integration fixtures.

This completes the ORM half of Phase 1. The SearchSpace class name,
relationship/back_populates attribute names, and the /searchspaces API
route URLs are intentionally left for Phase 2.

Verified: unit 2375 passed/1 skip, integration 346 passed (baseline
parity); create_all builds every table with the workspaces name and all
FKs resolving to workspaces.id.
2026-06-26 13:27:16 +02:00
..
enums feat(automations): add EVENT to TriggerType enum 2026-05-29 17:48:39 +02:00
models refactor(db): rename searchspaces table to workspaces 2026-06-26 13:27:16 +02:00
__init__.py refactor(automation): rename trigger model config to params 2026-05-27 13:29:22 +02:00