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

Functions

def downgrade ()
 
def upgrade ()
 

Variables

string down_revision = '5139253c0423'
 
string revision = 'd39508cb8d8'
 

Detailed Description

Create queue_rules

Revision ID: d39508cb8d8
Revises: 5139253c0423
Create Date: 2014-08-10 17:27:32.973571

Function Documentation

◆ downgrade()

def d39508cb8d8_create_queue_rules.downgrade ( )

Definition at line 27 of file d39508cb8d8_create_queue_rules.py.

27 def downgrade():
28  ########################## drop tables ###########################
29 
30  op.drop_table('queue_rules')

◆ upgrade()

def d39508cb8d8_create_queue_rules.upgrade ( )

Definition at line 17 of file d39508cb8d8_create_queue_rules.py.

17 def upgrade():
18  op.create_table(
19  'queue_rules',
20  sa.Column('rule_name', sa.String(80), nullable=False),
21  sa.Column('time', sa.String(32), nullable=False),
22  sa.Column('min_penalty', sa.String(32), nullable=False),
23  sa.Column('max_penalty', sa.String(32), nullable=False)
24  )
25 
26 

Variable Documentation

◆ down_revision

string down_revision = '5139253c0423'

Definition at line 11 of file d39508cb8d8_create_queue_rules.py.

◆ revision

string revision = 'd39508cb8d8'

Definition at line 10 of file d39508cb8d8_create_queue_rules.py.