Merge "res_pjsip: Add contact_user to endpoint" into 13

This commit is contained in:
zuul
2016-08-19 08:13:32 -05:00
committed by Gerrit Code Review
6 changed files with 85 additions and 0 deletions

View File

@@ -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')