protected function containsForeignConstraint(array $properties)
    {
        return Helpers::isKeyExists($properties, 'foreign-constraint')
        && is_array($properties['foreign-constraint'])
        && Helpers::isKeyExists($properties['foreign-constraint'], 'field', 'references', 'on');
    }