";
$has_checks= false;
-
+ $err = array();
foreach($map as $source_col=>$target) {
// check that source_col exists in schema.
if (!isset($this->schema[$tbl][$source_col])) {
+ $err[] = "SOURCE MISSING: $source_col => $target";
continue;
}
if (!isset($this->schema[$target_table])) {
// skip... target table does not exist
+ $err[] = "TARGET MISSING: $source_col => $target";
continue;
}