ScoDoc/migrations/versions/50f7e0b6229f_assiduites_champ_desc_description.py

29 lines
701 B
Python
Raw Permalink Normal View History

"""assiduites_champ_desc_description
Revision ID: 50f7e0b6229f
Revises: b555390780b2
Create Date: 2023-07-20 12:52:27.882303
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "50f7e0b6229f"
down_revision = "b555390780b2"
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column("assiduites", "desc", new_column_name="description")
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.alter_column("assiduites", "description", new_column_name="desc")
# ### end Alembic commands ###