Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
64fae6bbe7fb_drop_redundant_index Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '1c55c341360f'
 
string revision = '64fae6bbe7fb'
 

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 22 of file 64fae6bbe7fb_drop_redundant_index.py.

22def downgrade():
23 with op.batch_alter_table('voicemail_messages') as batch_op:
24 batch_op.create_index('voicemail_messages_dir', ['dir'])

◆ upgrade()

def upgrade ( )

Definition at line 17 of file 64fae6bbe7fb_drop_redundant_index.py.

17def upgrade():
18 with op.batch_alter_table('voicemail_messages') as batch_op:
19 batch_op.drop_index('voicemail_messages_dir')
20
21

Variable Documentation

◆ down_revision

string down_revision = '1c55c341360f'

Definition at line 11 of file 64fae6bbe7fb_drop_redundant_index.py.

◆ revision

string revision = '64fae6bbe7fb'

Definition at line 10 of file 64fae6bbe7fb_drop_redundant_index.py.