Asterisk - The Open Source Telephony Project
18.5.0
contrib
ast-db-manage
config
versions
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'
)
136885b81223_add_regcontext_to_pj.upgrade
def upgrade()
Definition:
136885b81223_add_regcontext_to_pj.py:16
136885b81223_add_regcontext_to_pj.downgrade
def downgrade()
Definition:
136885b81223_add_regcontext_to_pj.py:19
Generated on Sun Aug 8 2021 19:42:56 for Asterisk - The Open Source Telephony Project by
1.8.13