Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
config
versions
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'
)
154177371065_add_default_from_user.upgrade
def upgrade()
Definition:
154177371065_add_default_from_user.py:17
154177371065_add_default_from_user.downgrade
def downgrade()
Definition:
154177371065_add_default_from_user.py:21
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4