Asterisk - The Open Source Telephony Project
18.5.0
contrib
ast-db-manage
config
versions
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'
)
39959b9c2566_pjsip_stream_maximum.downgrade
def downgrade()
Definition:
39959b9c2566_pjsip_stream_maximum.py:22
39959b9c2566_pjsip_stream_maximum.upgrade
def upgrade()
Definition:
39959b9c2566_pjsip_stream_maximum.py:17
Generated on Sun Aug 8 2021 19:42:56 for Asterisk - The Open Source Telephony Project by
1.8.13