diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-19 08:13:32 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-19 08:13:32 -0500 |
commit | 504da21d474fba605393c1e2af46e57bd16d8477 (patch) | |
tree | 7a4ed4edf1b105810c89282f706fa83842b51697 /contrib | |
parent | 6bea2a55e852c1a421fdf9898c4b40afb5cfbe8f (diff) | |
parent | 329507fe20ae5dcbed3e7b494ce6fffeb9990af3 (diff) |
Merge "res_pjsip: Add contact_user to endpoint" into 13
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ast-db-manage/config/versions/4e2493ef32e6_add_contact_user_to_endpoint.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/ast-db-manage/config/versions/4e2493ef32e6_add_contact_user_to_endpoint.py b/contrib/ast-db-manage/config/versions/4e2493ef32e6_add_contact_user_to_endpoint.py new file mode 100644 index 000000000..f91cff04e --- /dev/null +++ b/contrib/ast-db-manage/config/versions/4e2493ef32e6_add_contact_user_to_endpoint.py @@ -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') |