diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-19 10:36:11 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-19 10:36:11 -0500 |
commit | b1600bccf518ede5049028cab66fb710226d642f (patch) | |
tree | 2d78ef325e5fa2c04d7423a079ed27bbfd3b7cce /contrib | |
parent | 7952f7f478121ebb9fce4c5b45559b83cf0922ad (diff) | |
parent | f87af8939601c9aec38228b40d69e6d068f0cc00 (diff) |
Merge "res_pjsip: Add contact_user to endpoint" into 14
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') |