mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-30 07:41:39 +00:00 
			
		
		
		
	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:
		| @@ -52,7 +52,7 @@ def downgrade(): | |||||||
|         enum.create(op.get_bind(), checkfirst=False) |         enum.create(op.get_bind(), checkfirst=False) | ||||||
|  |  | ||||||
|         op.execute('ALTER TABLE ps_endpoints ALTER COLUMN dtmf_mode TYPE' |         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') |                    ' dtmf_mode::text::pjsip_dtmf_mode_values_v2') | ||||||
|  |  | ||||||
|         ENUM(name="pjsip_dtmf_mode_values_v3").drop(op.get_bind(), checkfirst=False) |         ENUM(name="pjsip_dtmf_mode_values_v3").drop(op.get_bind(), checkfirst=False) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user