Asterisk - The Open Source Telephony Project GIT-master-abe0018
7197536bb68d_geoloc_endpoint_params.py
Go to the documentation of this file.
1"""Geoloc Endpoint Params
2
3Revision ID: 7197536bb68d
4Revises: 58e440314c2a
5Create Date: 2022-03-07 05:32:54.909429
6
7"""
8
9# revision identifiers, used by Alembic.
10revision = '7197536bb68d'
11down_revision = '58e440314c2a'
12
13from alembic import op
14import sqlalchemy as sa
15
16def 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
21 op.drop_column('ps_endpoints', 'geoloc_outgoing_call_profile')
22 op.drop_column('ps_endpoints', 'geoloc_incoming_call_profile')