projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed companion1 and companion2 from tc_visit
[eq/.git]
/
bin
/
upgrade_1_1_0_to_1_1_1
diff --git
a/bin/upgrade_1_1_0_to_1_1_1
b/bin/upgrade_1_1_0_to_1_1_1
index 6745e589250ddad82e43597afe7ef61411128574..21b6bede198aafc54d07bf9e2e6c337f395991da 100755
(executable)
--- 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";
$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";
print "-> Done!\n";