c6d929b23a8_create_pjsip_subscription_persistence_ Namespace Reference


Functions

def downgrade
def upgrade

Variables

string down_revision = 'e96a0b8071c'
string revision = 'c6d929b23a8'


Detailed Description

create pjsip subscription persistence table

Revision ID: c6d929b23a8
Revises: e96a0b8071c
Create Date: 2014-06-06 02:17:38.660447


Function Documentation

def c6d929b23a8_create_pjsip_subscription_persistence_::downgrade (  ) 

Definition at line 35 of file c6d929b23a8_create_pjsip_subscription_persistence_.py.

00035                :
00036    op.drop_table('ps_subscription_persistence')
   op.drop_table('ps_subscription_persistence')

def c6d929b23a8_create_pjsip_subscription_persistence_::upgrade (  ) 

Definition at line 17 of file c6d929b23a8_create_pjsip_subscription_persistence_.py.

00017              :
00018     op.create_table(
00019         'ps_subscription_persistence',
00020         sa.Column('id', sa.String(40), nullable=False, unique=True),
00021    sa.Column('packet', sa.String(2048)),
00022    sa.Column('src_name', sa.String(128)),
00023    sa.Column('src_port', sa.Integer),
00024    sa.Column('transport_key', sa.String(64)),
00025    sa.Column('local_name', sa.String(128)),
00026    sa.Column('local_port', sa.Integer),
00027    sa.Column('cseq', sa.Integer),
00028    sa.Column('tag', sa.String(128)),
00029    sa.Column('endpoint', sa.String(40)),
00030    sa.Column('expires', sa.Integer),
00031     )
00032 
00033     op.create_index('ps_subscription_persistence_id', 'ps_subscription_persistence', ['id'])
00034 
def downgrade():


Variable Documentation

string down_revision = 'e96a0b8071c'

string revision = 'c6d929b23a8'


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