Asterisk - The Open Source Telephony Project
GIT-master-f36a736
contrib
ast-db-manage
config
versions
7197536bb68d_geoloc_endpoint_params.py
Go to the documentation of this file.
1
"""Geoloc Endpoint Params
2
3
Revision ID: 7197536bb68d
4
Revises: 58e440314c2a
5
Create Date: 2022-03-07 05:32:54.909429
6
7
"""
8
9
# revision identifiers, used by Alembic.
10
revision =
'7197536bb68d'
11
down_revision =
'58e440314c2a'
12
13
from
alembic
import
op
14
import
sqlalchemy
as
sa
15
16
def
upgrade
():
17
op.add_column(
'ps_endpoints'
, sa.Column(
'geoloc_incoming_call_profile'
, sa.String(80)))
18
op.add_column(
'ps_endpoints'
, sa.Column(
'geoloc_outgoing_call_profile'
, sa.String(80)))
19
20
def
downgrade
():
21
op.drop_column(
'ps_endpoints'
,
'geoloc_outgoing_call_profile'
)
22
op.drop_column(
'ps_endpoints'
,
'geoloc_incoming_call_profile'
)
7197536bb68d_geoloc_endpoint_params.upgrade
def upgrade()
Definition:
7197536bb68d_geoloc_endpoint_params.py:16
7197536bb68d_geoloc_endpoint_params.downgrade
def downgrade()
Definition:
7197536bb68d_geoloc_endpoint_params.py:20
Generated on Wed Dec 18 2024 20:04:15 for Asterisk - The Open Source Telephony Project by
1.9.4