##----------------------------------------------------------------------------------#
 # MusicMiner Web Server															#
 # Name:		source/app/sql/upgrade_1.2.0.8.sql									#
 # Author:		Jesse J Morrow	(jesse@jessejmorrow.com)							#
 # Created:		2010-02-01															#
 # Updated:		2010-02-01															#
 # Compat:		MySQL 5																#
 # Copyright:	Copyright 2009 Soundminer Inc.										#
 # Purpose:		Upgrade the installed MusicMiner databases.							#
 # Version:		1.2.0.7 to 1.2.0.8													#
 #----------------------------------------------------------------------------------##

UPDATE `mm_admin`.`folders`, `mm_admin`.`groups` SET `folders`.`name` = `groups`.`name` WHERE `folders`.`id` = `groups`.`folder_id`;

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

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