From 97cf596ea754d8f8674ed3315d7f907aa065f7b6 Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Fri, 25 Aug 2023 12:05:35 +0200 Subject: [PATCH] RED: Now fails with missing attribute --- models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models.py b/models.py index e5995ad..04fb6a9 100644 --- a/models.py +++ b/models.py @@ -1,6 +1,9 @@ +from sqlalchemy import Column, ForeignKey, Integer + from database import Base class Movie(Base): __tablename__ = "movies" + id = Column(Integer, primary_key=True, index=True)