Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
a06d8f8462d9_add_t38_bind_udptl_to_media_address Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string AST_BOOL_NAME = 'ast_bool_values'
 
list AST_BOOL_VALUES
 
string down_revision = 'f56d79a9f337'
 
string revision = 'a06d8f8462d9'
 

Detailed Description

add t38_bind_udptl_to_media_address

Revision ID: a06d8f8462d9
Revises: f56d79a9f337
Create Date: 2021-09-24 10:03:01.320480

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 28 of file a06d8f8462d9_add_t38_bind_udptl_to_media_address.py.

28def downgrade():
29 op.drop_column('ps_endpoints', 't38_bind_udptl_to_media_address')

◆ upgrade()

def upgrade ( )

Definition at line 23 of file a06d8f8462d9_add_t38_bind_udptl_to_media_address.py.

23def upgrade():
24 ast_bool_values = ENUM(*AST_BOOL_VALUES, name=AST_BOOL_NAME, create_type=False)
25 op.add_column('ps_endpoints', sa.Column('t38_bind_udptl_to_media_address', ast_bool_values))
26
27

Variable Documentation

◆ AST_BOOL_NAME

string AST_BOOL_NAME = 'ast_bool_values'

◆ AST_BOOL_VALUES

list AST_BOOL_VALUES
Initial value:
1= [ '0', '1',
2 'off', 'on',
3 'false', 'true',
4 'no', 'yes' ]

Definition at line 18 of file a06d8f8462d9_add_t38_bind_udptl_to_media_address.py.

◆ down_revision

string down_revision = 'f56d79a9f337'

◆ revision

string revision = 'a06d8f8462d9'