Commit d07fd39f by gevik

Removed false exception catching.

parent 879b494a
......@@ -158,11 +158,7 @@ where
and ns.nspname={$tableSchema}
SQL;
try {
$constraints = $this->db->createCommand($sql)->queryAll();
} catch (\Exception $e) {
return false;
}
foreach ($constraints as $constraint) {
$columns = explode(',', $constraint['columns']);
$fcolumns = explode(',', $constraint['foreign_columns']);
......@@ -172,7 +168,6 @@ SQL;
}
$table->foreignKeys[] = $citem;
}
return true;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment