<filename>migrations/versions/0f0d912567c0_add_cancellation_time_to_expenditure.py
"""Add cancellation time to expenditure

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2020-02-28 12:21:02.252737

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "<KEY>"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "expenditure", sa.Column("cancelled_at", sa.DateTime(), nullable=True)
    )
    # ### end Alembic commands ###


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

<filename>migrations/versions/0f0d912567c0_add_cancellation_time_to_expenditure.py
"""Add cancellation time to expenditure

Revision ID: <KEY>
Revises: <KEY>
Create Date: 2020-02-28 12:21:02.252737

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "<KEY>"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "expenditure", sa.Column("cancelled_at", sa.DateTime(), nullable=True)
    )
    # ### end Alembic commands ###


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

Add cancellation time to expenditure  Revision ID: <KEY> Revises: <KEY> Create Date: 2020-02-28 12:21:02.252737 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###