minor fix
This commit is contained in:
1
Pipfile
1
Pipfile
@@ -19,6 +19,7 @@ Authlib = "*"
|
|||||||
bson = "*"
|
bson = "*"
|
||||||
python-frontmatter = "*"
|
python-frontmatter = "*"
|
||||||
bs4 = "*"
|
bs4 = "*"
|
||||||
|
psycopg2 = "*"
|
||||||
|
|
||||||
[dev-packages]
|
[dev-packages]
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ ShoutTopics = Table('shout_topics',
|
|||||||
class Shout(Base):
|
class Shout(Base):
|
||||||
__tablename__ = 'shout'
|
__tablename__ = 'shout'
|
||||||
|
|
||||||
|
id = None
|
||||||
slug: str = Column(String, primary_key=True)
|
slug: str = Column(String, primary_key=True)
|
||||||
org_id: int = Column(Integer, ForeignKey("organization.id"), nullable=False, comment="Organization")
|
org_id: int = Column(Integer, ForeignKey("organization.id"), nullable=False, comment="Organization")
|
||||||
body: str = Column(String, nullable=False, comment="Body")
|
body: str = Column(String, nullable=False, comment="Body")
|
||||||
|
|||||||
Reference in New Issue
Block a user