mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 16:32:34 +02:00
Removed the title length limit for news articles (#457)
This commit is contained in:
parent
3b6ee329e4
commit
d1736db653
@ -131,7 +131,7 @@ class News(Base):
|
|||||||
|
|
||||||
__tablename__ = "news"
|
__tablename__ = "news"
|
||||||
id = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
|
id = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
|
||||||
title = sa.Column(sa.String(150), nullable=False)
|
title = sa.Column(sa.String(), nullable=False)
|
||||||
timestamp = sa.Column(sa.DateTime(), nullable=False)
|
timestamp = sa.Column(sa.DateTime(), nullable=False)
|
||||||
text = sa.Column(sa.String(), nullable=False)
|
text = sa.Column(sa.String(), nullable=False)
|
||||||
source_url = sa.Column(sa.String, nullable=False)
|
source_url = sa.Column(sa.String, nullable=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user