DocScoDoc/migrations/versions/c95d5a3bf0de_couleur_ue.py

29 lines
648 B
Python
Raw Normal View History

2022-01-25 10:45:13 +01:00
"""couleur UE
Revision ID: c95d5a3bf0de
2022-01-27 12:40:56 +01:00
Revises: 28874ed6af64
2022-01-25 10:45:13 +01:00
Create Date: 2022-01-24 21:44:55.205544
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "c95d5a3bf0de"
2022-01-27 12:40:56 +01:00
down_revision = "28874ed6af64"
2022-01-25 10:45:13 +01:00
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column("notes_ue", sa.Column("color", sa.Text(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column("notes_ue", "color")
# ### end Alembic commands ###