]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_voicemail_odbc: remove macrocontext from voicemail_messages table
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 10 Jan 2024 16:47:24 +0000 (09:47 -0700)
committerMike Bradeen <mbradeen@sangoma.com>
Wed, 17 Jan 2024 15:01:35 +0000 (15:01 +0000)
commita22db8fd60c8b25e2c53279014f91dcd0e29567d
tree1f5271c00cf3a1c6b8c9fb00e10288c4da3d0565
parent4b908f364d897b3fbdb52b84f84e06b9575b6e56
app_voicemail_odbc: remove macrocontext from voicemail_messages table

When app_macro was deprecated, the macrocontext column was removed from
the INSERT statement but the binds were not renumbered. This broke the
insert.

This change removes the macrocontext column via alembic and re-numbers
the existing columns in the INSERT.

Fixes: #527
UserNote: The fix requires removing the macrocontext column from the
voicemail_messages table in the voicemail database via alembic upgrade.

UpgradeNote: The fix requires that the voicemail database be upgraded via
alembic. Upgrading to the latest voicemail database via alembic will
remove the macrocontext column from the voicemail_messages table.
apps/app_voicemail.c
contrib/ast-db-manage/voicemail/versions/1c55c341360f_remove_macrocontext_field.py [new file with mode: 0644]