Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
contrib
ast-db-manage
config
versions
465e70e8c337_add_match_header_attribute_to_identify.py
1
"""Add match_header attribute to identify
2
3
Revision ID: 465e70e8c337
4
Revises: 28ab27a7826d
5
Create Date: 2017-03-14 08:13:53.986681
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'465e70e8c337'
11
down_revision =
'28ab27a7826d'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
17
def
upgrade():
18
op.add_column(
'ps_endpoint_id_ips'
, sa.Column(
'match_header'
, sa.String(255)))
19
20
def
downgrade():
21
op.drop_column(
'ps_endpoint_id_ips'
,
'match_header'
)
Generated on Tue Jul 15 2025 11:50:26 for Asterisk - The Open Source Telephony Project by
1.8.10