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