Asterisk - The Open Source Telephony Project  18.5.0
a1698e8bb9c5_add_incoming_mwi_mailbox.py
Go to the documentation of this file.
1 """add_incoming_mwi_mailbox
2 
3 Revision ID: a1698e8bb9c5
4 Revises: b83645976fdd
5 Create Date: 2017-09-08 13:45:18.937571
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = 'a1698e8bb9c5'
11 down_revision = 'b83645976fdd'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.add_column('ps_endpoints', sa.Column('incoming_mwi_mailbox', sa.String(40)))
19 
20 def downgrade():
21  op.drop_column('ps_endpoints', 'incoming_mwi_mailbox')