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

def d39508cb8d8_create_queue_rules::downgrade (  ) 

Definition at line 27 of file d39508cb8d8_create_queue_rules.py.

00027                :
00028     ########################## drop tables ###########################
00029 
00030     op.drop_table('queue_rules')
00031 

def d39508cb8d8_create_queue_rules::upgrade (  ) 

Definition at line 17 of file d39508cb8d8_create_queue_rules.py.

00017              :
00018     op.create_table(
00019         'queue_rules',
00020         sa.Column('rule_name', sa.String(80), nullable=False),
00021         sa.Column('time', sa.String(32), nullable=False),
00022         sa.Column('min_penalty', sa.String(32), nullable=False),
00023         sa.Column('max_penalty', sa.String(32), nullable=False)
00024     )
00025 
00026 
def downgrade():


Variable Documentation

string down_revision = '5139253c0423'

Definition at line 11 of file d39508cb8d8_create_queue_rules.py.

string revision = 'd39508cb8d8'

Definition at line 10 of file d39508cb8d8_create_queue_rules.py.


Generated on Thu Apr 16 06:41:38 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6