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