mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-06 22:12:12 +02:00
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:
parent
533cdfcc81
commit
e2578e09bc
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ class DocumentFile(BaseModel, TimestampMixin):
|
|||
index=True,
|
||||
)
|
||||
search_space_id = Column(
|
||||
"workspace_id",
|
||||
Integer,
|
||||
ForeignKey("searchspaces.id", ondelete="CASCADE"),
|
||||
nullable=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue