Asterisk - The Open Source Telephony Project GIT-master-f36a736
4e2493ef32e6_add_contact_user_to_endpoint.py
Go to the documentation of this file.
1"""Add contact_user to endpoint
2
3Revision ID: 4e2493ef32e6
4Revises: 3772f8f828da
5Create Date: 2016-08-16 14:19:58.918466
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '4e2493ef32e6'
11down_revision = '3772f8f828da'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def upgrade():
18 op.add_column('ps_endpoints', sa.Column('contact_user', sa.String(80)))
19
20
22 op.drop_column('ps_endpoints', 'contact_user')