minor fix
This commit is contained in:
parent
78b41cb9c4
commit
9cb7f87021
1
Pipfile
1
Pipfile
|
@ -19,6 +19,7 @@ Authlib = "*"
|
|||
bson = "*"
|
||||
python-frontmatter = "*"
|
||||
bs4 = "*"
|
||||
psycopg2 = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
openssl req -newkey rsa:4096 \
|
||||
-x509 \
|
||||
-sha256 \
|
||||
-days 3650 \
|
||||
-nodes \
|
||||
-out discours.crt \
|
||||
-keyout discours.key \
|
||||
-subj "/C=RU/ST=Moscow/L=Moscow/O=Discours/OU=Site/CN=test-api.discours.io"
|
||||
#!/bin/bash
|
||||
|
||||
openssl req -newkey rsa:4096 \
|
||||
-x509 \
|
||||
-sha256 \
|
||||
-days 3650 \
|
||||
-nodes \
|
||||
-out discours.crt \
|
||||
-keyout discours.key \
|
||||
-subj "/C=RU/ST=Moscow/L=Moscow/O=Discours/OU=Site/CN=test-api.discours.io"
|
||||
|
|
|
@ -20,6 +20,7 @@ ShoutTopics = Table('shout_topics',
|
|||
class Shout(Base):
|
||||
__tablename__ = 'shout'
|
||||
|
||||
id = None
|
||||
slug: str = Column(String, primary_key=True)
|
||||
org_id: int = Column(Integer, ForeignKey("organization.id"), nullable=False, comment="Organization")
|
||||
body: str = Column(String, nullable=False, comment="Body")
|
||||
|
|
Loading…
Reference in New Issue
Block a user