SurfSense/surfsense_backend/app/automations/persistence/models
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
..
__init__.py refactor(automation): rename trigger model config to params 2026-05-27 13:29:22 +02:00
automation.py refactor(db): rename searchspaces table to workspaces 2026-06-26 13:27:16 +02:00
run.py chore: linting 2026-05-28 19:21:29 -07:00
trigger.py refactor(automations): park manual trigger pending Run-now redesign 2026-05-27 22:29:51 +02:00