| 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 |
|
| 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') |