~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/ast-db-manage/config/versions/1d3ed26d9978_increase_uri_column_size.py -rw-r--r-- 433 bytes
fe6d69c0Stephen Paul Weber import-tar 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""Increase uri column size

Revision ID: 1d3ed26d9978
Revises: 19b00bc19b7b
Create Date: 2018-08-23 11:46:13.283801

"""

# revision identifiers, used by Alembic.
revision = '1d3ed26d9978'
down_revision = '19b00bc19b7b'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.alter_column('ps_contacts', 'uri', type_=sa.String(511))


def downgrade():
    op.alter_column('ps_contacts', 'uri', type_=sa.String(255))