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