mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-06 22:12:12 +02:00
refactor(db): shim automations.search_space_id to physical workspace_id
Phase 1 (rename DB) commit 1c: attribute->physical column shim on the automations satellite model. ORM attribute and relationship unchanged.
This commit is contained in:
parent
e2578e09bc
commit
9271678c73
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class Automation(BaseModel, TimestampMixin):
|
|||
__tablename__ = "automations"
|
||||
|
||||
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