Use standard view detection in schema
This commit is contained in:
parent
8ae8507972
commit
fd5e6ef343
|
@ -17,7 +17,7 @@ $schema = array(); // table => array("fields" => array(name => field), "pos" =>
|
||||||
$referenced = array(); // target_table => array(table => array(left => target_column))
|
$referenced = array(); // target_table => array(table => array(left => target_column))
|
||||||
$lefts = array(); // float => bool
|
$lefts = array(); // float => bool
|
||||||
foreach (table_status() as $table => $table_status) {
|
foreach (table_status() as $table => $table_status) {
|
||||||
if (!isset($table_status["Engine"])) { // view
|
if (is_view($table_status)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$pos = 0;
|
$pos = 0;
|
||||||
|
|
Loading…
Reference in a new issue