title: Is RedBean ORM able to create unique keys?
body: <p>I'd like RedBean to create unique keys/indexes when generating the schema. The following code does- opposed to how I understand the documentation- not do this:</p>
  
  <p>R::setup('sqlite:rss_loader.db3');</p>
  
  <pre><code>$bean = R::findOne(IMG);
  if (!$bean-&gt;id) {
      $bean = R::dispense(IMG);
      $bean-&gt;setMeta("buildcommand.unique.0", array('url'));
      $bean-&gt;url      = 'text';
      R::store($bean);
      $bean-&gt;wipe();
  
      R::freeze(); //no more schema changes!
  }
  </code></pre>
  
  <p>What is happening in sqlite ist this:</p>
  
  <pre><code>create table img (id integer primary key autoincrement, url) 
  </code></pre>
  
  <p>What I was expecting was this:</p>
  
  <pre><code>create table img (id integer primary key autoincrement, url text unique) 
  </code></pre>
  
  <p>Can this be achieved without write SQL against RedBean?</p>