Add Pen model

This commit is contained in:
Backend IM Bot 2025-03-26 23:08:17 +01:00
parent be2a657ff8
commit b29e0af639

View File

@ -11,6 +11,5 @@ class Pen(Base):
color = Column(String, nullable=False)
brand = Column(String, nullable=False)
price = Column(Integer, nullable=False)
stock = Column(Integer, nullable=False)
created_at = Column(DateTime, default=func.now())
updated_at = Column(DateTime, default=func.now(), onupdate=func.now())