Asterisk - The Open Source Telephony Project  18.5.0
Functions | Variables
65eb22eb195_add_unidentified_request_options_to_ Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '8d478ab86e29'
 
string revision = '65eb22eb195'
 

Function Documentation

◆ downgrade()

def 65eb22eb195_add_unidentified_request_options_to_.downgrade ( )

Definition at line 23 of file 65eb22eb195_add_unidentified_request_options_to_.py.

23 def downgrade():
24  op.drop_column('ps_globals', 'unidentified_request_count')
25  op.drop_column('ps_globals', 'unidentified_request_period')
26  op.drop_column('ps_globals', 'unidentified_request_prune_interval')
27  op.drop_column('ps_globals', 'default_realm')

◆ upgrade()

def 65eb22eb195_add_unidentified_request_options_to_.upgrade ( )

Definition at line 17 of file 65eb22eb195_add_unidentified_request_options_to_.py.

17 def upgrade():
18  op.add_column('ps_globals', sa.Column('unidentified_request_count', sa.Integer))
19  op.add_column('ps_globals', sa.Column('unidentified_request_period', sa.Integer))
20  op.add_column('ps_globals', sa.Column('unidentified_request_prune_interval', sa.Integer))
21  op.add_column('ps_globals', sa.Column('default_realm', sa.String(40)))
22 

Variable Documentation

◆ down_revision

string down_revision = '8d478ab86e29'

◆ revision

string revision = '65eb22eb195'