Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
54cde9847798_expand_accountcode_to_80 Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '210693f3123d'
 
string revision = '54cde9847798'
 

Function Documentation

◆ downgrade()

def 54cde9847798_expand_accountcode_to_80.downgrade ( )

Definition at line 23 of file 54cde9847798_expand_accountcode_to_80.py.

23 def downgrade():
24  op.alter_column('cdr', 'accountcode', type_=sa.String(20))
25  op.alter_column('cdr', 'peeraccount', type_=sa.String(20))
26  pass

◆ upgrade()

def 54cde9847798_expand_accountcode_to_80.upgrade ( )

Definition at line 17 of file 54cde9847798_expand_accountcode_to_80.py.

17 def upgrade():
18  op.alter_column('cdr', 'accountcode', type_=sa.String(80))
19  op.alter_column('cdr', 'peeraccount', type_=sa.String(80))
20  pass
21 
22 

Variable Documentation

◆ down_revision

string down_revision = '210693f3123d'

Definition at line 11 of file 54cde9847798_expand_accountcode_to_80.py.

◆ revision

string revision = '54cde9847798'

Definition at line 10 of file 54cde9847798_expand_accountcode_to_80.py.