Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
config
versions
26f10cadc157_add_pjsip_timeout_options.py
Go to the documentation of this file.
1
"""add pjsip timeout options
2
3
Revision ID: 26f10cadc157
4
Revises: 498357a710ae
5
Create Date: 2015-07-21 07:45:00.696965
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'26f10cadc157'
11
down_revision =
'498357a710ae'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade
():
18
op.add_column(
'ps_endpoints'
, sa.Column(
'rtp_timeout'
, sa.Integer))
19
op.add_column(
'ps_endpoints'
, sa.Column(
'rtp_timeout_hold'
, sa.Integer))
20
21
22
def
downgrade
():
23
op.drop_column(
'ps_endpoints'
,
'rtp_timeout'
)
24
op.drop_column(
'ps_endpoints'
,
'rtp_timeout_hold'
)
26f10cadc157_add_pjsip_timeout_options.upgrade
def upgrade()
Definition:
26f10cadc157_add_pjsip_timeout_options.py:17
26f10cadc157_add_pjsip_timeout_options.downgrade
def downgrade()
Definition:
26f10cadc157_add_pjsip_timeout_options.py:22
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4