51f8cb66540e_add_further_dtls_options Namespace Reference


Functions

def downgrade
def upgrade

Variables

string down_revision = 'c6d929b23a8'
string revision = '51f8cb66540e'
string YESNO_NAME = 'yesno_values'
list YESNO_VALUES = ['yes', 'no']


Function Documentation

def 51f8cb66540e_add_further_dtls_options::downgrade (  ) 

Definition at line 30 of file 51f8cb66540e_add_further_dtls_options.py.

00030                :
00031     op.drop_column('ps_endpoints', 'force_avp')
00032     op.drop_column('ps_endpoints', 'media_use_received_transport')
    op.drop_column('ps_endpoints', 'media_use_received_transport')

def 51f8cb66540e_add_further_dtls_options::upgrade (  ) 

Definition at line 20 of file 51f8cb66540e_add_further_dtls_options.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('force_avp', yesno_values))
00028     op.add_column('ps_endpoints', sa.Column('media_use_received_transport', yesno_values))
00029 
def downgrade():


Variable Documentation

string down_revision = 'c6d929b23a8'

Definition at line 11 of file 51f8cb66540e_add_further_dtls_options.py.

string revision = '51f8cb66540e'

Definition at line 10 of file 51f8cb66540e_add_further_dtls_options.py.

string YESNO_NAME = 'yesno_values'

Definition at line 17 of file 51f8cb66540e_add_further_dtls_options.py.

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

Definition at line 18 of file 51f8cb66540e_add_further_dtls_options.py.


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