ScoDoc/migrations/versions/d718533466aa_ordre_des_groupes.py

29 lines
666 B
Python

"""Ordre des groupes
Revision ID: d718533466aa
Revises: cb360caa3dac
Create Date: 2022-07-24 21:33:26.728182
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "d718533466aa"
down_revision = "cb360caa3dac"
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("group_descr", sa.Column("numero", sa.Integer(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("group_descr", "numero")
# ### end Alembic commands ###