Added upgrade DB call for Tomas fix for killing transfer processes.

This commit is contained in:
paul 2007-01-24 17:49:09 +00:00
parent c76376e327
commit f2370f759c
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,10 @@ echo " * Converting metadata values 'ls:genre' to 'dc:type'...";
$sql = "UPDATE ".$CC_CONFIG['mdataTable']." SET predns='dc', predicate='type' WHERE predns='ls' and predicate='genre'";
camp_install_query($sql);
echo " * Adding 'jobpid' to ".$CC_CONFIG['transTable']."...\n";
$sql = "ALTER TABLE ".$CC_CONFIG['transTable']." ADD COLUMN jobpid int";
camp_install_query($sql);
// Get MD5 values for all files
echo " * Computing MD5 sums for all files (this may take a while)...\n";
$sql = "SELECT to_hex(gunid) as gunid, name FROM ".$CC_CONFIG['filesTable'] ." WHERE ftype='audioclip'";