X-Git-Url: http://git.pippins.net/embedvideo/.git/static/gitweb.js?a=blobdiff_plain;f=bin%2Fupgrade_1_1_0_to_1_1_1;h=21b6bede198aafc54d07bf9e2e6c337f395991da;hb=14cfa28359cc338a5c0697981474bc88f0e008c1;hp=6745e589250ddad82e43597afe7ef61411128574;hpb=61df0220f9c24a23b834d1fdf64c2a3630e52560;p=eq%2F.git diff --git a/bin/upgrade_1_1_0_to_1_1_1 b/bin/upgrade_1_1_0_to_1_1_1 index 6745e58..21b6bed 100755 --- a/bin/upgrade_1_1_0_to_1_1_1 +++ b/bin/upgrade_1_1_0_to_1_1_1 @@ -82,6 +82,10 @@ $sth->execute or die "-E- DB error: $DBI::errstr\n"; $sth = $dbh->prepare("ALTER TABLE `tc_leader` DROP `district`"); $sth->execute or die "-E- DB error: $DBI::errstr\n"; +# remove companion1 and companion2 from tc_visit +$sth = $dbh->prepare("ALTER TABLE `tc_visit` DROP `companion1`, DROP `companion2`"); +$sth->execute or die "-E- DB error: $DBI::errstr\n"; + print "-> Done!\n";