From: George Joseph Date: Mon, 11 Sep 2017 10:52:51 +0000 (-0600) Subject: alembic: Fix typo in add_auto_info_to_endpoint_dtmf_mode X-Git-Tag: 14.7.0-rc1~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5aa60aea6f9b635e5617c70f4b19e7e85d8d2b36;p=thirdparty%2Fasterisk.git 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 --- 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 932773f6da..d7d111dd72 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 @@ def downgrade(): 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)