selectLinks($table_status); $comment = $table_status["Comment"]; if ($comment != "") { echo "
" . lang('Comment') . ": " . h($comment) . "\n"; } if ($fields) { $adminer->tableStructurePrint($fields); } if (!is_view($table_status)) { if (support("indexes")) { echo "
' . lang('Alter indexes') . "\n"; } if (fk_support($table_status)) { echo "
" . lang('Source') . " | " . lang('Target') . " | " . lang('ON DELETE') . " | " . lang('ON UPDATE') . " | |
---|---|---|---|---|
" . implode(", ", array_map('h', $foreign_key["source"])) . ""; echo " | " . ($foreign_key["db"] != "" ? "" . h($foreign_key["db"]) . "." : "") . ($foreign_key["ns"] != "" ? "" . h($foreign_key["ns"]) . "." : "") . h($foreign_key["table"]) . "" ; echo "(" . implode(", ", array_map('h', $foreign_key["target"])) . ")"; echo " | " . nbsp($foreign_key["on_delete"]) . "\n"; echo " | " . nbsp($foreign_key["on_update"]) . "\n"; echo ' | ' . lang('Alter') . ''; } echo " |
' . lang('Add foreign key') . "\n"; } } if (support(is_view($table_status) ? "view_trigger" : "trigger")) { echo "
" . h($val[0]) . " | " . h($val[1]) . " | " . h($key) . " | " . lang('Alter') . "\n"; } echo " |
---|