class Esquema::Builder

def add_virtual_properties

Adds virtual properties to the schema.
def add_virtual_properties
  return unless schema_enhancements[:properties]
  virtual_properties = schema_enhancements[:properties].select { |_k, v| v[:virtual] }
  required_properties.concat(virtual_properties.keys)
  virtual_properties.each do |property_name, options|
    virtual_col = VirtualColumn.new(property_name, options)
    @properties[property_name] = Property.new(virtual_col, options)
  end
end