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