title: Is it possible to set 2 separate unique fields using Redbean ORM
body: <p>I am using the redbeanPHP ORM and mysql. I have the following table:</p>
  
  <pre><code>CREATE TABLE `mast` (
   `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
   `note` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   `geolocation` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   `location` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   `zip` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   `state` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   `app` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
   PRIMARY KEY (`id`),
   UNIQUE KEY `UQ_84a93b55f688c94f73092dba1b9590c41a92cbf5` ('app')
  ) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
  </code></pre>
  
  <p>I want to insert records into the 'mast' table providing they are unique with respect to both of the 2 fields listed above. In other words if either 'geolocation' or 'app' is a duplicate, I don't want to insert the associated record.</p>
  
  <p>I am using following php code to create the 2 unique fields:</p>
  
  <pre><code>       $mast= R::dispense('mast');
         $mast-&gt;setMeta("buildcommand.unique" , array(array('geolocation')));
  
              $mast -&gt;import($resultsarray);
              $mast-&gt;setMeta("buildcommand.unique" , array(array('app')));
  
  
              $id = R::store($mast); // DUMMY BEAN
  </code></pre>
  
  <p>A unique index is only being created for the 'app' field . Is there a way to set them both as unique in redbean?</p>