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