3855ee4e5f85_add_missing_pjsip_options.py

Go to the documentation of this file.
00001 """add_missing_pjsip_options
00002 
00003 Revision ID: 3855ee4e5f85
00004 Revises: 4c573e7135bd
00005 Create Date: 2014-03-28 10:49:04.637730
00006 
00007 """
00008 
00009 # revision identifiers, used by Alembic.
00010 revision = '3855ee4e5f85'
00011 down_revision = '4c573e7135bd'
00012 
00013 from alembic import op
00014 import sqlalchemy as sa
00015 
00016 
00017 def upgrade():
00018     op.add_column('ps_endpoints', sa.Column('message_context', sa.String(40)))
00019     op.add_column('ps_contacts', sa.Column('user_agent', sa.String(40)))
00020 
00021 
00022 def downgrade():
00023     op.drop_column('ps_contacts', 'user_agent')
00024     op.drop_column('ps_endpoints', 'message_context')

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