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

Joshua Colp asteriskteam at digium.com
Tue Sep 12 14:17:17 CDT 2017


Joshua Colp has submitted this change and it was merged. ( 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(-)

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



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: merged
Gerrit-Change-Id: Iaa9bcef48d6f3590ce07a61342d8e66f00263d8e
Gerrit-Change-Number: 6473
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170912/494f9bec/attachment.html>


More information about the asterisk-code-review mailing list