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