MonScoDocEssai/migrations/versions/c0c225192d61_coef_rcue.py

29 lines
679 B
Python

"""coef_rcue
Revision ID: c0c225192d61
Revises: 4311cc342dbd
Create Date: 2022-06-24 12:19:58.723862
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c0c225192d61'
down_revision = '4311cc342dbd'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('notes_ue', sa.Column('coef_rcue', sa.Float(), server_default='1.0', nullable=False))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('notes_ue', 'coef_rcue')
# ### end Alembic commands ###