summaryrefslogtreecommitdiff
path: root/contrib/ast-db-manage/config/versions/4e2493ef32e6_add_contact_user_to_endpoint.py
blob: f91cff04e02460a203f7a365ec19e79233491963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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')