add expiration_date to manual task order form
This commit is contained in:
@@ -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 ###
|
Reference in New Issue
Block a user