Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
3855ee4e5f85_add_missing_pjsip_options Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '4c573e7135bd'
 
string revision = '3855ee4e5f85'
 

Function Documentation

◆ downgrade()

def 3855ee4e5f85_add_missing_pjsip_options.downgrade ( )

Definition at line 22 of file 3855ee4e5f85_add_missing_pjsip_options.py.

22 def downgrade():
23  op.drop_column('ps_contacts', 'user_agent')
24  op.drop_column('ps_endpoints', 'message_context')

◆ upgrade()

def 3855ee4e5f85_add_missing_pjsip_options.upgrade ( )

Definition at line 17 of file 3855ee4e5f85_add_missing_pjsip_options.py.

17 def upgrade():
18  op.add_column('ps_endpoints', sa.Column('message_context', sa.String(40)))
19  op.add_column('ps_contacts', sa.Column('user_agent', sa.String(40)))
20 
21 

Variable Documentation

◆ down_revision

string down_revision = '4c573e7135bd'

Definition at line 11 of file 3855ee4e5f85_add_missing_pjsip_options.py.

◆ revision

string revision = '3855ee4e5f85'

Definition at line 10 of file 3855ee4e5f85_add_missing_pjsip_options.py.