~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/423f34ad36e2_fix_pjsip_qualify_ti.py -rw-r--r-- 581 bytes
fe6d69c0Stephen Paul Weber import-tar 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""fix pjsip qualify timeout

Revision ID: 423f34ad36e2
Revises: 136885b81223
Create Date: 2016-01-13 21:49:21.557734

"""

# revision identifiers, used by Alembic.
revision = '423f34ad36e2'
down_revision = '136885b81223'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('ps_aors', 'qualify_timeout', type_=sa.Float)
    op.alter_column('ps_contacts', 'qualify_timeout', type_=sa.Float)

def downgrade():
    op.alter_column('ps_aors', 'qualify_timeout', type_=sa.Integer)
    op.alter_column('ps_contacts', 'qualify_timeout', type_=sa.Integer)