From 9ff1e9780479046231c2a90c59c012b02816a3a1 Mon Sep 17 00:00:00 2001 From: Rien Maertens Date: Wed, 13 Feb 2019 22:58:19 +0100 Subject: [PATCH] Edit migration --- migrations/versions/49d24a3cb696_.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/migrations/versions/49d24a3cb696_.py b/migrations/versions/49d24a3cb696_.py index 2561a80..3ee1824 100644 --- a/migrations/versions/49d24a3cb696_.py +++ b/migrations/versions/49d24a3cb696_.py @@ -23,10 +23,9 @@ def upgrade(): sa.Column('quoter', sa.String(length=255), nullable=False), sa.Column('quotee', sa.String(length=255), nullable=True), sa.Column('channel', sa.String(length=255), nullable=False), - sa.Column('quote', sa.String(length=1023), nullable=False), + sa.Column('quote', sa.String(length=65535), nullable=False), sa.Column('created_at', sa.DateTime(), nullable=False), - sa.PrimaryKeyConstraint('id'), - sa.UniqueConstraint('quote') + sa.PrimaryKeyConstraint('id') ) op.create_table('user', sa.Column('id', sa.Integer(), nullable=False),