Asterisk - The Open Source Telephony Project GIT-master-4f2b068
Loading...
Searching...
No Matches
Functions | Variables
dc7c357dc178_add_taskpool_options_to_system Namespace Reference

Functions

 downgrade ()
 
 upgrade ()
 

Variables

str down_revision = 'abdc9ede147d'
 
str revision = 'dc7c357dc178'
 

Detailed Description

add taskpool options to system

Revision ID: dc7c357dc178
Revises: abdc9ede147d
Create Date: 2025-09-24 09:45:17.609185

Function Documentation

◆ downgrade()

downgrade ( )

Definition at line 24 of file dc7c357dc178_add_taskpool_options_to_system.py.

24def downgrade():
25 op.drop_column('ps_systems', 'taskpool_minimum_size')
26 op.drop_column('ps_systems', 'taskpool_initial_size')
27 op.drop_column('ps_systems', 'taskpool_auto_increment')
28 op.drop_column('ps_systems', 'taskpool_idle_timeout')
29 op.drop_column('ps_systems', 'taskpool_max_size')

◆ upgrade()

upgrade ( )

Definition at line 17 of file dc7c357dc178_add_taskpool_options_to_system.py.

17def upgrade():
18 op.add_column('ps_systems', sa.Column('taskpool_minimum_size', sa.Integer))
19 op.add_column('ps_systems', sa.Column('taskpool_initial_size', sa.Integer))
20 op.add_column('ps_systems', sa.Column('taskpool_auto_increment', sa.Integer))
21 op.add_column('ps_systems', sa.Column('taskpool_idle_timeout', sa.Integer))
22 op.add_column('ps_systems', sa.Column('taskpool_max_size', sa.Integer))
23

Variable Documentation

◆ down_revision

str down_revision = 'abdc9ede147d'

◆ revision

str revision = 'dc7c357dc178'