Asterisk - The Open Source Telephony Project  18.5.0
498357a710ae_add_rtp_keepalive.py
Go to the documentation of this file.
1 """Add RTP keepalive
2 
3 Revision ID: 498357a710ae
4 Revises: 28b8e71e541f
5 Create Date: 2015-07-10 16:42:12.244421
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '498357a710ae'
11 down_revision = '28b8e71e541f'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.add_column('ps_endpoints', sa.Column('rtp_keepalive', sa.Integer))
19 
20 
21 def downgrade():
22  op.drop_column('ps_endpoints', 'rtp_keepalive')