Asterisk - The Open Source Telephony Project  18.5.0
4a6c67fa9b7a_add_fax_detect_timeout_option.py
Go to the documentation of this file.
1 """add fax_detect_timeout option
2 
3 Revision ID: 4a6c67fa9b7a
4 Revises: 9deac0ae4717
5 Create Date: 2016-07-18 18:20:44.249491
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '4a6c67fa9b7a'
11 down_revision = '9deac0ae4717'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.add_column('ps_endpoints', sa.Column('fax_detect_timeout', sa.Integer))
19 
20 
21 def downgrade():
22  op.drop_column('ps_endpoints', 'fax_detect_timeout')