Asterisk - The Open Source Telephony Project GIT-master-f36a736
1d3ed26d9978_increase_uri_column_size.py
Go to the documentation of this file.
1"""Increase uri column size
2
3Revision ID: 1d3ed26d9978
4Revises: 19b00bc19b7b
5Create Date: 2018-08-23 11:46:13.283801
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '1d3ed26d9978'
11down_revision = '19b00bc19b7b'
12
13from alembic import op
14import sqlalchemy as sa
15
16
17def upgrade():
18 op.alter_column('ps_contacts', 'uri', type_=sa.String(511))
19
20
22 op.alter_column('ps_contacts', 'uri', type_=sa.String(255))