add is_closed
column to Thread class
This commit is contained in:
parent
fdea61b784
commit
5074db5618
@ -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)
|
Loading…
Reference in New Issue
Block a user