return '';
} /**
* Generates SQL to add foreign keys
*
* @param bool $asQuery When true recreates table with key, else partial SQL used with CREATE TABLE
*/
protected function _processForeignKeys(string
$table, bool
$asQuery = false
): array
{ if ($asQuery === false
) { return parent::
_processForeignKeys($table,
$asQuery);
} $errorNames =
[];
foreach ($this->foreignKeys
as $name) { foreach ($name['field'
] as $f) { if (!
isset($this->fields
[$f])) { $errorNames[] =
$f;
} } }