~singpolyma/asterisk

ref: 130ba7aeba07eb8bb3ea34418ca458bb58b05080 asterisk/contrib/ast-db-manage/config/versions/a1698e8bb9c5_add_incoming_mwi_mailbox.py -rw-r--r-- 447 bytes
130ba7ae — Bernhard Schmidt Import asterisk_16.2.1~dfsg.orig.tar.xz 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""add_incoming_mwi_mailbox

Revision ID: a1698e8bb9c5
Revises: b83645976fdd
Create Date: 2017-09-08 13:45:18.937571

"""

# revision identifiers, used by Alembic.
revision = 'a1698e8bb9c5'
down_revision = 'b83645976fdd'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.add_column('ps_endpoints', sa.Column('incoming_mwi_mailbox', sa.String(40)))

def downgrade():
    op.drop_column('ps_endpoints', 'incoming_mwi_mailbox')