Asterisk - The Open Source Telephony Project  18.5.0
39959b9c2566_pjsip_stream_maximum.py
Go to the documentation of this file.
1 """pjsip_stream_maximum
2 
3 Revision ID: 39959b9c2566
4 Revises: d7983954dd96
5 Create Date: 2017-06-15 13:18:12.372333
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '39959b9c2566'
11 down_revision = 'd7983954dd96'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.add_column('ps_endpoints', sa.Column('max_audio_streams', sa.Integer))
19  op.add_column('ps_endpoints', sa.Column('max_video_streams', sa.Integer))
20 
21 
22 def downgrade():
23  op.drop_column('ps_endpoints', 'max_audio_streams')
24  op.drop_column('ps_endpoints', 'max_video_streams')