<filename>migrations/versions/d60a45185f74_ajout_show_raep_dans_newsletterdb.py
"""Ajout show_raep dans newsletterdb

Revision ID: d60a45185f74
Revises: <PASSWORD>
Create Date: 2021-06-23 17:26:45.619277

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd<PASSWORD>'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    op.add_column('newsletter', sa.Column('show_raep', sa.Boolean(), nullable=True))


def downgrade():
    op.drop_column('newsletter', 'show_raep')

<filename>migrations/versions/d60a45185f74_ajout_show_raep_dans_newsletterdb.py
"""Ajout show_raep dans newsletterdb

Revision ID: d60a45185f74
Revises: <PASSWORD>
Create Date: 2021-06-23 17:26:45.619277

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd<PASSWORD>'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    op.add_column('newsletter', sa.Column('show_raep', sa.Boolean(), nullable=True))


def downgrade():
    op.drop_column('newsletter', 'show_raep')

Ajout show_raep dans newsletterdb  Revision ID: d60a45185f74 Revises: <PASSWORD> Create Date: 2021-06-23 17:26:45.619277 # revision identifiers, used by Alembic.