Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
8fce8496f03e_add_tcp_keepalive_settings_to_ps_ Namespace Reference

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '74dc751dfe8e'
 
string revision = '8fce8496f03e'
 

Function Documentation

◆ downgrade()

def downgrade ( )

Definition at line 23 of file 8fce8496f03e_add_tcp_keepalive_settings_to_ps_.py.

23def downgrade():
24 with op.batch_alter_table('ps_transports') as batch_op:
25 batch_op.drop_column('tcp_keepalive_enable')
26 batch_op.drop_column('tcp_keepalive_idle_time')
27 batch_op.drop_column('tcp_keepalive_interval_time')
28 batch_op.drop_column('tcp_keepalive_probe_count')

◆ upgrade()

def upgrade ( )

Definition at line 16 of file 8fce8496f03e_add_tcp_keepalive_settings_to_ps_.py.

16def upgrade():
17 with op.batch_alter_table('ps_transports') as batch_op:
18 batch_op.add_column(sa.Column('tcp_keepalive_enable', sa.Boolean(), nullable=True))
19 batch_op.add_column(sa.Column('tcp_keepalive_idle_time', sa.Integer(), nullable=True))
20 batch_op.add_column(sa.Column('tcp_keepalive_interval_time', sa.Integer(), nullable=True))
21 batch_op.add_column(sa.Column('tcp_keepalive_probe_count', sa.Integer(), nullable=True))
22

Variable Documentation

◆ down_revision

string down_revision = '74dc751dfe8e'

◆ revision

string revision = '8fce8496f03e'