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:
CREDO23 2026-06-26 12:12:13 +02:00
parent e2578e09bc
commit 9271678c73

View file

@ -25,6 +25,7 @@ class Automation(BaseModel, TimestampMixin):
__tablename__ = "automations"
search_space_id = Column(
"workspace_id",
Integer,
ForeignKey("searchspaces.id", ondelete="CASCADE"),
nullable=False,