mirror of https://github.com/asterisk/asterisk
contact_user, when specified on an endpoint, will override the user portion of the Contact header on outgoing requests. Change-Id: Icd4ebfda2f2e44d3ac749d0b4066630e988407d4changes/97/3597/2
parent
57f4e4428a
commit
534063fd67
@ -0,0 +1,22 @@
|
||||
"""Add contact_user to endpoint
|
||||
|
||||
Revision ID: 4e2493ef32e6
|
||||
Revises: 3772f8f828da
|
||||
Create Date: 2016-08-16 14:19:58.918466
|
||||
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '4e2493ef32e6'
|
||||
down_revision = '3772f8f828da'
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('ps_endpoints', sa.Column('contact_user', sa.String(80)))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('ps_endpoints', 'contact_user')
|
Loading…
Reference in new issue