diff --git a/kipina-codebench/prompts/code-small.md b/kipina-codebench/prompts/code-small.md index 6c8bd50..f606599 100644 --- a/kipina-codebench/prompts/code-small.md +++ b/kipina-codebench/prompts/code-small.md @@ -17,7 +17,7 @@ Key patterns (copy from reference): FOREIGN KEYS (when spec has relationships): - Child entity gets parent_id field: Mapped[int] = mapped_column(ForeignKey("parents.id")) -- Import ForeignKey: from sqlalchemy import ForeignKey +- Import: from sqlalchemy import ForeignKey (NOT from sqlalchemy.orm!) - Create schema includes parent_id: int - Test creates parent FIRST, then child with parent's id