Asterisk - The Open Source Telephony Project  18.5.0
154177371065_add_default_from_user.py
Go to the documentation of this file.
1 """add default_from_user
2 
3 Revision ID: 154177371065
4 Revises: 26f10cadc157
5 Create Date: 2015-09-04 14:13:59.195013
6 
7 """
8 
9 # revision identifiers, used by Alembic.
10 revision = '154177371065'
11 down_revision = '26f10cadc157'
12 
13 from alembic import op
14 import sqlalchemy as sa
15 
16 
17 def upgrade():
18  op.add_column('ps_globals', sa.Column('default_from_user', sa.String(80)))
19 
20 
21 def downgrade():
22  op.drop_column('ps_globals', 'default_from_user')