SurfSense/surfsense_backend/app/file_storage/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
..
__init__.py feat(file-storage): add document_files model and enum 2026-06-02 16:10:43 +02:00
enums.py feat(file-storage): add document_files model and enum 2026-06-02 16:10:43 +02:00
models.py refactor(db): rename searchspaces table to workspaces 2026-06-26 13:27:16 +02:00