$field_definition = $database[$name]["fields"][$fieldname];
// Define the default collation if not given
$field_definition = $database[$name]["fields"][$fieldname];
// Define the default collation if not given
foreach ($structure["indexes"] AS $indexname => $fieldnames) {
$sql_index = self::createIndex($indexname, $fieldnames, "");
if (!is_null($sql_index)) {
foreach ($structure["indexes"] AS $indexname => $fieldnames) {
$sql_index = self::createIndex($indexname, $fieldnames, "");
if (!is_null($sql_index)) {