[Asterisk-code-review] pjsip add use callerid contact: fixed alembic script (asterisk[16])

Kevin Harwell asteriskteam at digium.com
Mon Dec 3 17:47:05 CST 2018


Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/10734


Change subject: pjsip_add_use_callerid_contact: fixed alembic script
......................................................................

pjsip_add_use_callerid_contact: fixed alembic script

Change-Id: I413f1583c797fb79651786cd8d0b003599f8ed10
---
M contrib/ast-db-manage/config/versions/2bb1a85135ad_pjsip_add_use_callerid_contact.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/34/10734/1

diff --git a/contrib/ast-db-manage/config/versions/2bb1a85135ad_pjsip_add_use_callerid_contact.py b/contrib/ast-db-manage/config/versions/2bb1a85135ad_pjsip_add_use_callerid_contact.py
index c4a9eab..a2d39f4 100644
--- a/contrib/ast-db-manage/config/versions/2bb1a85135ad_pjsip_add_use_callerid_contact.py
+++ b/contrib/ast-db-manage/config/versions/2bb1a85135ad_pjsip_add_use_callerid_contact.py
@@ -30,7 +30,7 @@
     # type to get around "already created" issue - works okay with mysql
     ast_bool_values = ENUM(*AST_BOOL_VALUES, name=AST_BOOL_NAME, create_type=False)
 
-    op.add_column('ps_globals', sa.Column('use_callerid_contact', yesno_values))
+    op.add_column('ps_globals', sa.Column('use_callerid_contact', ast_bool_values))
 
 
 def downgrade():

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

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-MessageType: newchange
Gerrit-Change-Id: I413f1583c797fb79651786cd8d0b003599f8ed10
Gerrit-Change-Number: 10734
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181203/1dbf1cf9/attachment.html>


More information about the asterisk-code-review mailing list