Add Pen model
This commit is contained in:
parent
be2a657ff8
commit
b29e0af639
@ -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())
|
Loading…
x
Reference in New Issue
Block a user