Asterisk - The Open Source Telephony Project GIT-master-f36a736
39959b9c2566_pjsip_stream_maximum.py
Go to the documentation of this file.
1"""pjsip_stream_maximum
2
3Revision ID: 39959b9c2566
4Revises: d7983954dd96
5Create Date: 2017-06-15 13:18:12.372333
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '39959b9c2566'
11down_revision = 'd7983954dd96'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def 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
23 op.drop_column('ps_endpoints', 'max_audio_streams')
24 op.drop_column('ps_endpoints', 'max_video_streams')