Asterisk - The Open Source Telephony Project  18.5.0
136885b81223_add_regcontext_to_pj.py
Go to the documentation of this file.
1 """add regcontext to pjsip
2 
3 Revision ID: 136885b81223
4 Revises: 26d7f3bf0fa5
5 Create Date: 2016-01-11 22:32:45.470522
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '136885b81223'
11 down_revision = '26d7f3bf0fa5'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 def upgrade():
17  op.add_column('ps_globals', sa.Column('regcontext', sa.String(80)))
18 
19 def downgrade():
20  op.drop_column('ps_globals', 'regcontext')