add is_closed column to Thread class

This commit is contained in:
agatha 2024-04-01 17:26:01 -04:00
parent fdea61b784
commit 5074db5618

View File

@ -18,4 +18,5 @@ class Threads(Base):
id = Column(Integer, primary_key=True) id = Column(Integer, primary_key=True)
author = Column(String) author = Column(String)
title = Column(String) title = Column(String)
content = Column(String) content = Column(String)
is_closed = Column(Boolean, default=False)