diff --git a/hive/db/schema.py b/hive/db/schema.py index cb67ac902801da84faf518c4a71ce1f5da16ffd0..e6c163948369cf25a11c2a883e6682b0a71f7f0e 100644 --- a/hive/db/schema.py +++ b/hive/db/schema.py @@ -160,7 +160,7 @@ def build_metadata(): sa.Table( 'hive_post_data', metadata, sa.Column('id', sa.Integer, primary_key=True, autoincrement=False), - sa.Column('title', TEXT, nullable=False, server_default=''), + sa.Column('title', VARCHAR(512), nullable=False, server_default=''), sa.Column('preview', VARCHAR(1024), nullable=False, server_default=''), sa.Column('img_url', VARCHAR(1024), nullable=False, server_default=''), sa.Column('body', TEXT, nullable=False, server_default=''),