protected function mergeSchemas($service, $resource, $data)
    {
        $merged = false;
        if ('db/_schema' === $service . '/' . $resource) {
            $payload =
                (true === config('df.always_wrap_resources')) ? [config('df.resources_wrapper') => $data] : $data;
            $result = ServiceManager::handleRequest($service, Verbs::PATCH, $resource, [], [], $payload);
            if ($result->getStatusCode() === 200) {
                $merged = true;
            }
        }

        return $merged;
    }
protected function mergeSchemas($service, $resource, $data)
    {
        $merged = false;
        if ('db/_schema' === $service . '/' . $resource) {
            $payload =
                (true === config('df.always_wrap_resources')) ? [config('df.resources_wrapper') => $data] : $data;
            $result = ServiceManager::handleRequest($service, Verbs::PATCH, $resource, [], [], $payload);
            if ($result->getStatusCode() === 200) {
                $merged = true;
            }
        }

        return $merged;
    }
protected function mergeSchemas ( $ service , $ resource , $ data ) { $ merged = false ; if ( 'db/_schema' === $ service . '/' . $ resource ) { $ payload = ( true === config ( 'df.always_wrap_resources' ) ) ? [ config ( 'df.resources_wrapper' ) => $ data ] : $ data ; $ result = ServiceManager :: handleRequest ( $ service , Verbs :: PATCH , $ resource , [ ] , [ ] , $ payload ) ; if ( $ result -> getStatusCode ( ) === 200 ) { $ merged = true ; } } return $ merged ; }
Merges any schema changes.

@param $service
@param $resource
@param $data

@return bool
Merges any schema changes .