[Asterisk-code-review] alembic: Fix typo in add auto info to endpoint dtmf mode (asterisk[14])

George Joseph asteriskteam at digium.com
Mon Sep 11 05:54:35 CDT 2017


George Joseph has uploaded this change for review. ( https://gerrit.asterisk.org/6473


Change subject: alembic:  Fix typo in add_auto_info_to_endpoint_dtmf_mode
......................................................................

alembic:  Fix typo in add_auto_info_to_endpoint_dtmf_mode

The downgrade function was missing "_v2" at the end of the
alter column type.

Change-Id: Iaa9bcef48d6f3590ce07a61342d8e66f00263d8e
---
M contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/6473/1

diff --git a/contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py b/contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py
index 932773f..d7d111d 100644
--- a/contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py
+++ b/contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py
@@ -52,7 +52,7 @@
         enum.create(op.get_bind(), checkfirst=False)
 
         op.execute('ALTER TABLE ps_endpoints ALTER COLUMN dtmf_mode TYPE'
-                   ' pjsip_dtmf_mode_values USING'
+                   ' pjsip_dtmf_mode_values_v2 USING'
                    ' dtmf_mode::text::pjsip_dtmf_mode_values_v2')
 
         ENUM(name="pjsip_dtmf_mode_values_v3").drop(op.get_bind(), checkfirst=False)

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

Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa9bcef48d6f3590ce07a61342d8e66f00263d8e
Gerrit-Change-Number: 6473
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170911/3a233ae4/attachment-0001.html>


More information about the asterisk-code-review mailing list