Asterisk - The Open Source Telephony Project GIT-master-f36a736
1d50859ed02e_create_accountcode.py
Go to the documentation of this file.
1"""create accountcode
2
3Revision ID: 1d50859ed02e
4Revises: 51f8cb66540e
5Create Date: 2014-07-07 21:07:01.661783
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '1d50859ed02e'
11down_revision = '51f8cb66540e'
12
13from alembic import op
14import sqlalchemy as sa
15
16def upgrade():
17 op.add_column('ps_endpoints', sa.Column('accountcode', sa.String(20)))
18
20 op.drop_column('ps_endpoints', 'accountcode')