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
This commit is contained in:
George Joseph 2017-09-11 04:52:51 -06:00
parent 680aba21ec
commit f9bad3bd61
1 changed files with 1 additions and 1 deletions

View File

@ -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)