add expiration_date to manual task order form

This commit is contained in:
dandds
2018-09-17 16:27:41 -04:00
parent f984c95060
commit a2e8caf23b
8 changed files with 60 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
"""add expiration date to task order
Revision ID: 4f4defb7b440
Revises: 2572be7fb7fc
Create Date: 2018-09-17 15:22:33.240310
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4f4defb7b440'
down_revision = '2572be7fb7fc'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('task_order', sa.Column('expiration_date', sa.Date(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('task_order', 'expiration_date')
# ### end Alembic commands ###