Asterisk - The Open Source Telephony Project
18.5.0
contrib
ast-db-manage
config
versions
465e70e8c337_add_match_header_attribute_to_identify.py
Go to the documentation of this file.
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'
)
465e70e8c337_add_match_header_attribute_to_identify.downgrade
def downgrade()
Definition:
465e70e8c337_add_match_header_attribute_to_identify.py:20
465e70e8c337_add_match_header_attribute_to_identify.upgrade
def upgrade()
Definition:
465e70e8c337_add_match_header_attribute_to_identify.py:17
Generated on Sun Aug 8 2021 19:42:56 for Asterisk - The Open Source Telephony Project by
1.8.13