forked from ScoDoc/DocScoDoc
29 lines
733 B
Python
29 lines
733 B
Python
|
"""Flag bloquage calcul moyennes
|
||
|
|
||
|
Revision ID: 669065fb2d20
|
||
|
Revises: a217bf588f4c
|
||
|
Create Date: 2021-09-16 22:04:11.624632
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '669065fb2d20'
|
||
|
down_revision = 'a217bf588f4c'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('notes_formsemestre', sa.Column('block_moyennes', sa.Boolean(), server_default='false', nullable=False))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('notes_formsemestre', 'block_moyennes')
|
||
|
# ### end Alembic commands ###
|