private function _createFkData($data, $table)
    {
        $name = $table . ucfirst(Text::singular($data['table'])) . 'Fk';
        $structure = [
            'constraintType' => 'FOREIGN KEY',
            'constraintName' => $name,
            'columnName' => $data['from'],
            'referenceTable' => $data['table'],
            'referenceColumn' => $data['to'],
            'onUpdate' => $data['on_update'],
            'onDelete' => $data['on_delete']
        ];
        return $structure;
    }