~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/461d7d691209_add_pjsip_qualify_timeout.py -rw-r--r-- 552 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
"""add pjsip qualify_timeout

Revision ID: 461d7d691209
Revises: 31cd4f4891ec
Create Date: 2015-04-15 13:54:08.047851

"""

# revision identifiers, used by Alembic.
revision = '461d7d691209'
down_revision = '31cd4f4891ec'

from alembic import op
import sqlalchemy as sa

def upgrade():
    op.add_column('ps_aors', sa.Column('qualify_timeout', sa.Integer))
    op.add_column('ps_contacts', sa.Column('qualify_timeout', sa.Integer))

def downgrade():
    op.drop_column('ps_aors', 'qualify_timeout')
    op.drop_column('ps_contacts', 'qualify_timeout')