summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2017-09-11 04:52:51 -0600
committerGeorge Joseph <gjoseph@digium.com>2017-09-11 05:54:57 -0500
commitf9bad3bd61a87cde0ad3acbcbfb41d4c59bcc175 (patch)
tree21261c268f0578ea78b5679cb584ef8efd87f3f1 /contrib
parent680aba21ec1b91f4cd4061e652b8cd23356dfb9d (diff)
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
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ast-db-manage/config/versions/164abbd708c_add_auto_info_to_endpoint_dtmf_mode.py2
1 files changed, 1 insertions, 1 deletions
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 20cab2f38..6d64dd6bd 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)