Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
config
versions
1d50859ed02e_create_accountcode.py
Go to the documentation of this file.
1
"""create accountcode
2
3
Revision ID: 1d50859ed02e
4
Revises: 51f8cb66540e
5
Create Date: 2014-07-07 21:07:01.661783
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'1d50859ed02e'
11
down_revision =
'51f8cb66540e'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
def
upgrade
():
17
op.add_column(
'ps_endpoints'
, sa.Column(
'accountcode'
, sa.String(20)))
18
19
def
downgrade
():
20
op.drop_column(
'ps_endpoints'
,
'accountcode'
)
1d50859ed02e_create_accountcode.upgrade
def upgrade()
Definition:
1d50859ed02e_create_accountcode.py:16
1d50859ed02e_create_accountcode.downgrade
def downgrade()
Definition:
1d50859ed02e_create_accountcode.py:19
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4