ScoDoc/migrations/versions/5c7b208355df_commentaire_fo...

31 lines
701 B
Python

"""commentaire formation
Revision ID: 5c7b208355df
Revises: 25e3ca6cc063
Create Date: 2023-01-30 11:45:20.156713
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "5c7b208355df"
down_revision = "25e3ca6cc063"
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column(
"notes_formations", sa.Column("commentaire", sa.Text(), nullable=True)
)
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("notes_formations", "commentaire")
# ### end Alembic commands ###