X-Git-Url: http://git.pippins.net/embedvideo/.git/?a=blobdiff_plain;f=bin%2Fupgrade_4_0_to_5_0;h=085fa1ec53fe4cc2af0866387cb972d7de5d62a0;hb=a7dc2d93b41c38fb9d80f7547a06706e3904e8ab;hp=c27fa3ac4f2b1dd473001258455e89c8fd575ec2;hpb=a0c7ce10c9ab3a62384edbe3c9d77993c0e38f16;p=eq%2F.git diff --git a/bin/upgrade_4_0_to_5_0 b/bin/upgrade_4_0_to_5_0 index c27fa3a..085fa1e 100755 --- a/bin/upgrade_4_0_to_5_0 +++ b/bin/upgrade_4_0_to_5_0 @@ -147,6 +147,10 @@ $sth->execute or die "-E- DB error: $DBI::errstr\n"; $sth = $dbh->prepare("ALTER TABLE `tc_presidency` CHANGE `elder` `indiv` INT(16)"); $sth->execute or die "-E- DB error: $DBI::errstr\n"; +# Remove eqpres field from tc_presidency +$sth = $dbh->prepare("ALTER TABLE `tc_presidency` DROP `eqpres`"); +$sth->execute or die "-E- DB error: $DBI::errstr\n"; + # Rename eq_visit table to tc_visit $sth = $dbh->prepare("RENAME TABLE `eq_visit` TO `tc_visit`"); $sth->execute or die "-E- DB error: $DBI::errstr\n";