title: ruby on rails: How to create table for a new model
body: <p>I use</p>
  
  <pre><code>rails generate model mynewmodel string:name string:description
  </code></pre>
  
  <p>to generate a new model. How do I deploy this new model to my develop databse ? I already have a bunch of databases in my sqlite  db.</p>
  
  <p>I have tried </p>
  
  <pre><code>rake db:migrate
  </code></pre>
  
  <p>it seemed having trouble to generate this new table in db.</p>
  
  <p><strong>update</strong>: added error message</p>
  
  <pre><code>==  CreateMynewmodels: migrating ===============================================
  -- create_table(:mynewmodels)
  rake aborted!
  An error has occurred, this and all later migrations canceled:
  
  undefined method `name' for #&lt;ActiveRecord::ConnectionAdapters::TableDefinition:0x3ad5c50&gt;
  
  Tasks: TOP =&gt; db:migrate
  </code></pre>
  
  <p>Thanks</p>