"""Update des titres et trophées Revision ID: 6ae59d74cf54 Revises: c961d7b7a7ea Create Date: 2019-06-06 23:34:53.521239 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6ae59d74cf54' down_revision = 'c961d7b7a7ea' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('title', sa.Column('css', sa.Text(_expect_unicode=True), nullable=True)) op.create_index(op.f('ix_trophy_name'), 'trophy', ['name'], unique=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_index(op.f('ix_trophy_name'), table_name='trophy') op.drop_column('title', 'css') # ### end Alembic commands ###