[Asterisk-code-review] alembic: add missing ps_endpoints columns (asterisk[16])

Friendly Automation asteriskteam at digium.com
Fri Sep 9 11:34:37 CDT 2022


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/18980 )

Change subject: alembic: add missing ps_endpoints columns
......................................................................

alembic: add missing ps_endpoints columns

The stir_shaken_profile column was added to the
ps_endpoints table.

ASTERISK-29453

Change-Id: Ic52ce30e7951d5bc01396c950bdc2a8b3c1df74b
---
A contrib/ast-db-manage/config/versions/a062185f355c_add_stir_shaken_profile_to_ps_endpoint.py
1 file changed, 36 insertions(+), 0 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit




diff --git a/contrib/ast-db-manage/config/versions/a062185f355c_add_stir_shaken_profile_to_ps_endpoint.py b/contrib/ast-db-manage/config/versions/a062185f355c_add_stir_shaken_profile_to_ps_endpoint.py
new file mode 100644
index 0000000..bf62564
--- /dev/null
+++ b/contrib/ast-db-manage/config/versions/a062185f355c_add_stir_shaken_profile_to_ps_endpoint.py
@@ -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')

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18980
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: Ic52ce30e7951d5bc01396c950bdc2a8b3c1df74b
Gerrit-Change-Number: 18980
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220909/1a3f3f87/attachment.html>


More information about the asterisk-code-review mailing list