Asterisk - The Open Source Telephony Project GIT-master-f36a736
9deac0ae4717_pjsip_add_subscribe_context.py
Go to the documentation of this file.
1"""pjsip_add_subscribe_context
2
3Revision ID: 9deac0ae4717
4Revises: ef7efc2d3964
5Create Date: 2016-07-04 12:11:28.117788
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '9deac0ae4717'
11down_revision = 'ef7efc2d3964'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def upgrade():
18 op.add_column('ps_endpoints', sa.Column('subscribe_context', sa.String(40)))
19
21 op.drop_column('ps_endpoints', 'subscribe_context')