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

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '65eb22eb195'
 
string revision = '81b01a191a46'
 

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 21 of file 81b01a191a46_pjsip_add_contact_reg_server.py.

21def downgrade():
22 op.drop_constraint('ps_contacts_uq', 'ps_contacts', type_='unique')
23 op.drop_column('ps_contacts', 'reg_server')

◆ upgrade()

def upgrade ( )

Definition at line 17 of file 81b01a191a46_pjsip_add_contact_reg_server.py.

17def upgrade():
18 op.add_column('ps_contacts', sa.Column('reg_server', sa.String(20)))
19 op.create_unique_constraint('ps_contacts_uq', 'ps_contacts', ['id','reg_server'])
20

Variable Documentation

◆ down_revision

string down_revision = '65eb22eb195'

Definition at line 11 of file 81b01a191a46_pjsip_add_contact_reg_server.py.

◆ revision

string revision = '81b01a191a46'

Definition at line 10 of file 81b01a191a46_pjsip_add_contact_reg_server.py.