Asterisk - The Open Source Telephony Project GIT-master-115d7c0
465e70e8c337_add_match_header_attribute_to_identify.py
Go to the documentation of this file.
1"""Add match_header attribute to identify
2
3Revision ID: 465e70e8c337
4Revises: 28ab27a7826d
5Create Date: 2017-03-14 08:13:53.986681
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '465e70e8c337'
11down_revision = '28ab27a7826d'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def upgrade():
18 op.add_column('ps_endpoint_id_ips', sa.Column('match_header', sa.String(255)))
19
21 op.drop_column('ps_endpoint_id_ips', 'match_header')