$sth = $dbh->prepare("UPDATE tc_interview AS ti JOIN tc_leader AS tl SET ti.interviewer=tl.leader WHERE ti.interviewer=tl.individual");
$sth->execute or die "-E- DB error: $DBI::errstr\n";
+# rename note field in tc_accomplishment to notes
+$sth = $dbh->prepare("ALTER TABLE `tc_accomplishment` CHANGE `note` `notes` VARCHAR( 128 ) NOT NULL ");
+$sth->execute or die "-E- DB error: $DBI::errstr\n";
print "-> Done!\n";
shape = "record"
];
accomplishment [
- label = "accomplishment||<a> accomplishment|<i> individual|<d> date|<t> task|<n> note"
+ label = "accomplishment||<a> accomplishment|<i> individual|<d> date|<t> task|<n> notes"
shape = "record"
];
task [
`individual` INT( 16 ) UNSIGNED NULL DEFAULT NULL ,
`date` DATE NULL DEFAULT NULL ,
`task` INT( 16 ) UNSIGNED NULL DEFAULT NULL ,
- `note` VARCHAR( 128 ) NOT NULL
+ `notes` VARCHAR( 128 ) NOT NULL
) ENGINE = MYISAM ;
--