Skip to content

Commit ec1196f

Browse files
hf-kkleinKonstantin
andauthored
perf: add foreign key (Anwendungshandbuch) to ahb_expressions table (#213)
Co-authored-by: Konstantin <[email protected]>
1 parent d2b183f commit ec1196f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fundamend/sqlmodels/expression_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,4 @@ class AhbExpression(SQLModel, table=True):
248248
respective Expression (e.g. for expression "Muss [1] U [2]")
249249
"""
250250
ahbicht_error_message: str | None = Field(default=None)
251-
anwendungshandbuch_primary_key: uuid.UUID = Field()
251+
anwendungshandbuch_primary_key: uuid.UUID = Field(foreign_key="anwendungshandbuch.primary_key")

0 commit comments

Comments
 (0)