~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/136885b81223_add_regcontext_to_pj.py -rw-r--r-- 421 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
"""add regcontext to pjsip

Revision ID: 136885b81223
Revises: 26d7f3bf0fa5
Create Date: 2016-01-11 22:32:45.470522

"""

# revision identifiers, used by Alembic.
revision = '136885b81223'
down_revision = '26d7f3bf0fa5'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('ps_globals', sa.Column('regcontext', sa.String(80)))

def downgrade():
    op.drop_column('ps_globals', 'regcontext')