From 4ec5c83f69f2576fd0af5be5ba8499519b2c027f Mon Sep 17 00:00:00 2001
From: Matthew Jordan <mjordan@digium.com>
Date: Mon, 6 Aug 2012 17:00:28 +0000
Subject: Update the MySQL voicemail_data contrib script to reflect Asterisk 11
 changes

All voicemails now have a 'msg_id' included in their metadata.  The ODBC
message storage backend now requires this column; as such, the MySQL contrib
script that creates the voicemail_data table has been updated with the appropriate
column information.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 contrib/realtime/mysql/voicemail_data.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'contrib/realtime/mysql/voicemail_data.sql')

diff --git a/contrib/realtime/mysql/voicemail_data.sql b/contrib/realtime/mysql/voicemail_data.sql
index 743bd4492..3e25f6e74 100644
--- a/contrib/realtime/mysql/voicemail_data.sql
+++ b/contrib/realtime/mysql/voicemail_data.sql
@@ -23,7 +23,9 @@ CREATE TABLE voicemail_data (
 	-- Value of the channel variable VM_CATEGORY, if set
 	category CHAR(30),
 	-- Length of the message, in seconds
-	duration INT(11)
+	duration INT(11),
+	-- Unique identifier for the message
+	msg_id CHAR(32)
 );
 
 
-- 
cgit v1.2.3

