alembic: add missing ps_endpoints columns

The stir_shaken_profile column was added to the
ps_endpoints table.

ASTERISK-29453

Change-Id: Ic52ce30e7951d5bc01396c950bdc2a8b3c1df74b
This commit is contained in:
Mike Bradeen
2022-08-17 13:08:24 -06:00
committed by Friendly Automation
parent 1e2dfd0c32
commit c085ecd9f7

View File

@@ -0,0 +1,22 @@
"""Add Stir Shaken Profile to ps endpoint
Revision ID: a062185f355c
Revises: 7197536bb68d
Create Date: 2022-08-17 13:03:50.149536
"""
# revision identifiers, used by Alembic.
revision = 'a062185f355c'
down_revision = '7197536bb68d'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.add_column('ps_endpoints', sa.Column('stir_shaken_profile', sa.String(80)))
def downgrade():
op.drop_column('ps_endpoints', 'stir_shaken_profile')