[Asterisk-code-review] alembic: Add bundle column in ps endpoints table (asterisk[master])

Florian Floimair asteriskteam at digium.com
Wed Oct 25 01:39:35 CDT 2017


Florian Floimair has uploaded this change for review. ( https://gerrit.asterisk.org/6904


Change subject: alembic: Add bundle column in ps_endpoints table
......................................................................

alembic: Add bundle column in ps_endpoints table

The ps_endpoints table was missing the bundle column
introduced with with the bundle feature in
commit 065c3005ad92.

ASTERISK-27374 #close

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



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/04/6904/1

diff --git a/contrib/ast-db-manage/config/versions/de83fac997e2_add_bundle_to_ps_endpoints.py b/contrib/ast-db-manage/config/versions/de83fac997e2_add_bundle_to_ps_endpoints.py
new file mode 100644
index 0000000..0020e1f
--- /dev/null
+++ b/contrib/ast-db-manage/config/versions/de83fac997e2_add_bundle_to_ps_endpoints.py
@@ -0,0 +1,22 @@
+"""add bundle to ps_endpoints
+
+Revision ID: de83fac997e2
+Revises: a1698e8bb9c5
+Create Date: 2017-10-24 17:10:57.242020
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = 'de83fac997e2'
+down_revision = 'a1698e8bb9c5'
+
+from alembic import op
+import sqlalchemy as sa
+
+
+def upgrade():
+    op.add_column('ps_endpoints', sa.Column('bundle', sa.Integer))
+
+
+def downgrade():
+    op.drop_column('ps_endpoints', 'bundle')

-- 
To view, visit https://gerrit.asterisk.org/6904
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic900f4f2c20f64b99ea898d50f5c0a7117472d46
Gerrit-Change-Number: 6904
Gerrit-PatchSet: 1
Gerrit-Owner: Florian Floimair <f.floimair at commend.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171025/a894a0f1/attachment.html>


More information about the asterisk-code-review mailing list