15b1430ad6f1_add_moh_passthrough_option_to_pjsip Namespace Reference


Functions

def downgrade
def upgrade

Variables

string down_revision = '371a3bf4143e'
string revision = '15b1430ad6f1'
string YESNO_NAME = 'yesno_values'
list YESNO_VALUES = ['yes', 'no']


Function Documentation

def 15b1430ad6f1_add_moh_passthrough_option_to_pjsip::downgrade (  ) 

Definition at line 29 of file 15b1430ad6f1_add_moh_passthrough_option_to_pjsip.py.

00029                :
00030     op.drop_column('ps_endpoints', 'moh_passthrough')
    op.drop_column('ps_endpoints', 'moh_passthrough')

def 15b1430ad6f1_add_moh_passthrough_option_to_pjsip::upgrade (  ) 

Definition at line 20 of file 15b1430ad6f1_add_moh_passthrough_option_to_pjsip.py.

00020              :
00021     ############################# Enums ##############################
00022 
00023     # yesno_values have already been created, so use postgres enum object
00024     # type to get around "already created" issue - works okay with mysql
00025     yesno_values = ENUM(*YESNO_VALUES, name=YESNO_NAME, create_type=False)
00026 
00027     op.add_column('ps_endpoints', sa.Column('moh_passthrough', yesno_values))
00028 
def downgrade():


Variable Documentation

string down_revision = '371a3bf4143e'

string revision = '15b1430ad6f1'

string YESNO_NAME = 'yesno_values'

list YESNO_VALUES = ['yes', 'no']


Generated on Thu Apr 16 06:41:37 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6