[asterisk-commits] alembic: fix erroneous commit for add prune on boot (asterisk[14])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 6 10:39:33 CDT 2017


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/6423 )

Change subject: alembic: fix erroneous commit for add_prune_on_boot
......................................................................

alembic: fix erroneous commit for add_prune_on_boot

Added include for postgresql ENUM type and
redefined values in the same way as in the
other migration scripts.

ASTERISK-27254 #close

Change-Id: Id667304cdf3891b1c2f7d35fab3e2a84026159fa
---
M contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py b/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py
index eccd441..7596646 100644
--- a/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py
+++ b/contrib/ast-db-manage/config/versions/f3d1c5d38b56_add_prune_on_boot.py
@@ -12,7 +12,10 @@
 
 from alembic import op
 import sqlalchemy as sa
+from sqlalchemy.dialects.postgresql import ENUM
 
+YESNO_NAME = 'yesno_values'
+YESNO_VALUES = ['yes', 'no']
 
 def upgrade():
     ############################# Enums ##############################

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

Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: merged
Gerrit-Change-Id: Id667304cdf3891b1c2f7d35fab3e2a84026159fa
Gerrit-Change-Number: 6423
Gerrit-PatchSet: 1
Gerrit-Owner: Florian Floimair <f.floimair at commend.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170906/e8a99fb3/attachment-0001.html>


More information about the asterisk-commits mailing list