Asterisk - The Open Source Telephony Project GIT-master-f36a736
d5122576cca8_add_transport_attribute_to_identify.py
Go to the documentation of this file.
1"""add transport attribute to identify
2
3Revision ID: d5122576cca8
4Revises: cf150a175fd3
5Create Date: 2024-03-28 14:29:43.372496
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = 'd5122576cca8'
11down_revision = 'cf150a175fd3'
12
13from alembic import op
14import sqlalchemy as sa
15
16def upgrade():
17 op.add_column('ps_endpoint_id_ips', sa.Column('transport', sa.String(128)))
18
20 op.drop_column('ps_endpoint_id_ips', 'transport')