##----------------------------------------------------------------------------------#
 # MusicMiner Web Server															#
 # Name:		source/app/sql/upgrade_1.1.9.4.sql									#
 # Author:		Jesse J Morrow	(jesse@jessejmorrow.com)							#
 # Created:		2009-05-04															#
 # Updated:		2009-05-04															#
 # Compat:		MySQL 5																#
 # Copyright:	Copyright 2009 Soundminer Inc.										#
 # Purpose:		Upgrade the installed MusicMiner databases.							#
 # Version:		1.1.9.3 to 1.1.9.4													#
 #----------------------------------------------------------------------------------##

# Add `job_no` field to `playlists` table
ALTER TABLE `mm_admin`.`playlists` ADD COLUMN `job_no` VARCHAR(32) DEFAULT NULL COMMENT 'Job number associated with the playlist/cuesheet.' AFTER `version_type`;

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