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