Cake\Database\Schema\PostgresSchema::convertForeignKeyDescription PHP Method

convertForeignKeyDescription() public method

{@inheritDoc}
public convertForeignKeyDescription ( Cake\Database\Schema\Table $table, $row )
$table Cake\Database\Schema\Table
    public function convertForeignKeyDescription(Table $table, $row)
    {
        $data = ['type' => Table::CONSTRAINT_FOREIGN, 'columns' => $row['column_name'], 'references' => [$row['references_table'], $row['references_field']], 'update' => $this->_convertOnClause($row['on_update']), 'delete' => $this->_convertOnClause($row['on_delete'])];
        $table->addConstraint($row['name'], $data);
    }