Asterisk - The Open Source Telephony Project  18.5.0
1ae0609b6646_increse_reg_server_size.py
Go to the documentation of this file.
1 """increse reg server size
2 
3 Revision ID: 1ae0609b6646
4 Revises: 61797b9fced6
5 Create Date: 2020-08-31 13:50:19.772439
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '1ae0609b6646'
11 down_revision = '61797b9fced6'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.alter_column('ps_contacts', 'reg_server', type_=sa.String(255))
19 
20 
21 def downgrade():
22  op.alter_column('ps_contacts', 'reg_server', type_=sa.String(20))