1 """Add pjsip endpoint ACN options 3 Revision ID: b80485ff4dd0 5 Create Date: 2020-07-06 08:29:53.974820 10 revision =
'b80485ff4dd0' 11 down_revision =
'79290b511e4b' 13 from alembic
import op
14 import sqlalchemy
as sa
16 max_value_length = 128
19 op.add_column(
'ps_endpoints', sa.Column(
'codec_prefs_incoming_offer', sa.String(max_value_length)))
20 op.add_column(
'ps_endpoints', sa.Column(
'codec_prefs_outgoing_offer', sa.String(max_value_length)))
21 op.add_column(
'ps_endpoints', sa.Column(
'codec_prefs_incoming_answer', sa.String(max_value_length)))
22 op.add_column(
'ps_endpoints', sa.Column(
'codec_prefs_outgoing_answer', sa.String(max_value_length)))
26 op.drop_column(
'ps_endpoints',
'codec_prefs_incoming_offer')
27 op.drop_column(
'ps_endpoints',
'codec_prefs_outgoing_offer')
28 op.drop_column(
'ps_endpoints',
'codec_prefs_incoming_answer')
29 op.drop_column(
'ps_endpoints',
'codec_prefs_outgoing_answer')