Asterisk - The Open Source Telephony Project GIT-master-f36a736
26f10cadc157_add_pjsip_timeout_options.py
Go to the documentation of this file.
1"""add pjsip timeout options
2
3Revision ID: 26f10cadc157
4Revises: 498357a710ae
5Create Date: 2015-07-21 07:45:00.696965
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '26f10cadc157'
11down_revision = '498357a710ae'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def 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
23 op.drop_column('ps_endpoints', 'rtp_timeout')
24 op.drop_column('ps_endpoints', 'rtp_timeout_hold')