Asterisk - The Open Source Telephony Project  18.5.0
2d078ec071b7_increaes_contact_column_size.py
Go to the documentation of this file.
1 """increaes_contact_column_size
2 
3 Revision ID: 2d078ec071b7
4 Revises: 189a235b3fd7
5 Create Date: 2015-12-16 11:26:54.218985
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '2d078ec071b7'
11 down_revision = '189a235b3fd7'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.alter_column('ps_aors', 'contact', type_=sa.String(255))
19 
20 
21 def downgrade():
22  op.alter_column('ps_aors', 'contact', type_=sa.String(40))