Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
39428242f7f5_increase_recording_column_size Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = 'a2e9769475e'
 
string revision = '39428242f7f5'
 

Function Documentation

◆ downgrade()

def 39428242f7f5_increase_recording_column_size.downgrade ( )

Definition at line 42 of file 39428242f7f5_increase_recording_column_size.py.

42 def downgrade():
43  op.alter_column('voicemail_messages', 'recording', type_=sa.LargeBinary)

◆ upgrade()

def 39428242f7f5_increase_recording_column_size.upgrade ( )

Definition at line 35 of file 39428242f7f5_increase_recording_column_size.py.

35 def upgrade():
36  # Make BLOB a LONGBLOB for mysql so recordings longer than about
37  # four seconds can be stored.
38  # See LargeBinary http://docs.sqlalchemy.org/en/rel_0_9/core/types.html
39  op.alter_column('voicemail_messages', 'recording', type_=sa.LargeBinary(4294967295))
40 
41 

Variable Documentation

◆ down_revision

string down_revision = 'a2e9769475e'

◆ revision

string revision = '39428242f7f5'