From f2370f759c881b29c0e9ff8390d6fedf23bab14f Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 24 Jan 2007 17:49:09 +0000 Subject: [PATCH] Added upgrade DB call for Tomas fix for killing transfer processes. --- .../storageServer/var/install/upgrade/upgrade-to-1.2.0.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/campcaster/src/modules/storageServer/var/install/upgrade/upgrade-to-1.2.0.php b/campcaster/src/modules/storageServer/var/install/upgrade/upgrade-to-1.2.0.php index 9ffaf4346..f78d07088 100644 --- a/campcaster/src/modules/storageServer/var/install/upgrade/upgrade-to-1.2.0.php +++ b/campcaster/src/modules/storageServer/var/install/upgrade/upgrade-to-1.2.0.php @@ -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'";