refactor(db): shim document_files.search_space_id to physical workspace_id

Phase 1 (rename DB) commit 1b: same attribute->physical column shim as
1a, applied to the document_files satellite model. ORM attribute name
unchanged; FK target string left for the searchspaces rename commit.
This commit is contained in:
CREDO23 2026-06-26 12:08:26 +02:00
parent 533cdfcc81
commit e2578e09bc

View file

@ -30,6 +30,7 @@ class DocumentFile(BaseModel, TimestampMixin):
index=True,
)
search_space_id = Column(
"workspace_id",
Integer,
ForeignKey("searchspaces.id", ondelete="CASCADE"),
nullable=False,