"""
Added dag name column to executions

Revision ID: e937a5234ce4
Revises: a472b5ad50b7
Create Date: 2021-02-25 12:14:38.197522

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "e937a5234ce4"
down_revision = "a472b5ad50b7"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "executions", sa.Column("dag_name", sa.String(length=256), nullable=True)
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("executions", "dag_name")
    # ### end Alembic commands ###
