a2e9769475e_create_tables Namespace Reference


Functions

def downgrade
def upgrade

Variables

 down_revision = None
string revision = 'a2e9769475e'


Function Documentation

def a2e9769475e_create_tables::downgrade (  ) 

Definition at line 57 of file a2e9769475e_create_tables.py.

00057                :
00058     op.drop_table('voicemail_messages')
    op.drop_table('voicemail_messages')

def a2e9769475e_create_tables::upgrade (  ) 

Definition at line 35 of file a2e9769475e_create_tables.py.

Referenced by ast_websocket_uri_cb().

00035              :
00036     op.create_table(
00037         'voicemail_messages',
00038         sa.Column('dir', sa.String(255), nullable=False),
00039         sa.Column('msgnum', sa.Integer, nullable=False),
00040         sa.Column('context', sa.String(80)),
00041         sa.Column('macrocontext', sa.String(80)),
00042         sa.Column('callerid', sa.String(80)),
00043         sa.Column('origtime', sa.Integer),
00044         sa.Column('duration', sa.Integer),
00045         sa.Column('recording', sa.LargeBinary),
00046         sa.Column('flag', sa.String(30)),
00047         sa.Column('category', sa.String(30)),
00048         sa.Column('mailboxuser', sa.String(30)),
00049         sa.Column('mailboxcontext', sa.String(30)),
00050         sa.Column('msg_id', sa.String(40))
00051     )
00052     op.create_primary_key('voicemail_messages_dir_msgnum',
00053             'voicemail_messages', ['dir', 'msgnum'])
00054     op.create_index('voicemail_messages_dir', 'voicemail_messages', ['dir'])
00055 
00056 
def downgrade():


Variable Documentation

down_revision = None

Definition at line 29 of file a2e9769475e_create_tables.py.

string revision = 'a2e9769475e'

Definition at line 28 of file a2e9769475e_create_tables.py.


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