Asterisk - The Open Source Telephony Project  18.5.0
423f34ad36e2_fix_pjsip_qualify_ti.py
Go to the documentation of this file.
1 """fix pjsip qualify timeout
2 
3 Revision ID: 423f34ad36e2
4 Revises: 136885b81223
5 Create Date: 2016-01-13 21:49:21.557734
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '423f34ad36e2'
11 down_revision = '136885b81223'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.alter_column('ps_aors', 'qualify_timeout', type_=sa.Float)
19  op.alter_column('ps_contacts', 'qualify_timeout', type_=sa.Float)
20 
21 def downgrade():
22  op.alter_column('ps_aors', 'qualify_timeout', type_=sa.Integer)
23  op.alter_column('ps_contacts', 'qualify_timeout', type_=sa.Integer)