Add phone ext

This commit is contained in:
leigh-mil
2018-10-29 14:01:16 -04:00
parent 9992ed44b6
commit 6bc157b2b3
16 changed files with 82 additions and 5 deletions

View File

@@ -0,0 +1,32 @@
"""Add Phone Extension
Revision ID: 4c0b8263d800
Revises: 9c24c609878a
Create Date: 2018-10-29 11:14:01.332665
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4c0b8263d800'
down_revision = '9c24c609878a'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('request_reviews', sa.Column('phone_ext_mao', sa.String(), nullable=True))
op.add_column('request_revisions', sa.Column('phone_ext', sa.String(), nullable=True))
op.add_column('users', sa.Column('phone_ext', sa.String(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('users', 'phone_ext')
op.drop_column('request_revisions', 'phone_ext')
op.drop_column('request_reviews', 'phone_ext_mao')
# ### end Alembic commands ###