Edit migration

This commit is contained in:
Rien Maertens 2019-02-13 22:58:19 +01:00
parent 067c399902
commit 9ff1e97804
No known key found for this signature in database
GPG key ID: 10C6D8C91DE58E4A

View file

@ -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),