~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/9deac0ae4717_pjsip_add_subscribe_context.py -rw-r--r-- 444 bytes
fe6d69c0Stephen Paul Weber import-tar 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""pjsip_add_subscribe_context

Revision ID: 9deac0ae4717
Revises: ef7efc2d3964
Create Date: 2016-07-04 12:11:28.117788

"""

# revision identifiers, used by Alembic.
revision = '9deac0ae4717'
down_revision = 'ef7efc2d3964'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.add_column('ps_endpoints', sa.Column('subscribe_context', sa.String(40)))

def downgrade():
    op.drop_column('ps_endpoints', 'subscribe_context')