##----------------------------------------------------------------------------------#
 # MusicMiner Web Server															#
 # Name:		source/app/sql/upgrade_1.2.3.4.sql									#
 # Author:		Jesse J Morrow	(jesse@jessejmorrow.com)							#
 # Created:		2010-06-16															#
 # Updated:		2010-06-16															#
 # Compat:		MySQL 5																#
 # Copyright:	Copyright 2010 Soundminer Inc.										#
 # Purpose:		Upgrade the installed MusicMiner databases.							#
 # Version:		1.2.3.3 to 1.2.3.4													#
 #----------------------------------------------------------------------------------##

TRUNCATE TABLE `mm_cache`.`results`;
ALTER TABLE `mm_cache`.`results` MODIFY COLUMN `data` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;

#-----------------------------------------------------------------------------
# Versions
#-----------------------------------------------------------------------------

# Update version fields
UPDATE `mm_admin`.`schema` SET `db_ver` = '1.2.3.4';