Asterisk - The Open Source Telephony Project GIT-master-f36a736
461d7d691209_add_pjsip_qualify_timeout.py
Go to the documentation of this file.
1"""add pjsip qualify_timeout
2
3Revision ID: 461d7d691209
4Revises: 31cd4f4891ec
5Create Date: 2015-04-15 13:54:08.047851
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '461d7d691209'
11down_revision = '31cd4f4891ec'
12
13from alembic import op
14import sqlalchemy as sa
15
16def upgrade():
17 op.add_column('ps_aors', sa.Column('qualify_timeout', sa.Integer))
18 op.add_column('ps_contacts', sa.Column('qualify_timeout', sa.Integer))
19
21 op.drop_column('ps_aors', 'qualify_timeout')
22 op.drop_column('ps_contacts', 'qualify_timeout')