src/Neutrino/Database/Schema/Dialect/WrapperTrait.php
public function addForeignKey($tableName, $schemaName, Db\ReferenceInterface $reference)
    {
        return $this->dialect->addForeignKey($tableName, $schemaName, $reference);
    }
public function addForeignKey($tableName, $schemaName, Db\ReferenceInterface $reference)
    {
        return $this->dialect->addForeignKey($tableName, $schemaName, $reference);
    }
Generates SQL to add an index to a table

@param string                         $tableName
@param string                         $schemaName
@param \Phalcon\Db\ReferenceInterface $reference

@return string