~singpolyma/asterisk

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

Revision ID: 154177371065
Revises: 26f10cadc157
Create Date: 2015-09-04 14:13:59.195013

"""

# revision identifiers, used by Alembic.
revision = '154177371065'
down_revision = '26f10cadc157'

from alembic import op
import sqlalchemy as sa


def upgrade():
    op.add_column('ps_globals', sa.Column('default_from_user', sa.String(80)))


def downgrade():
    op.drop_column('ps_globals', 'default_from_user')