title: rails3 bigint primary key
body: <p>I would like to create a <code>bigint</code> (or <code>string</code> or whatever that is not <code>int</code>) typed primary key field under Rails 3.</p>
  
  <p>I have a given structure of data, for example:</p>
  
  <pre><code>things
  ------
  id bigint primary_key
  name char(32)
  </code></pre>
  
  <p>The approach I'm currently trying to push:</p>
  
  <pre><code>create_table :things, :id =&gt; false do |t| # That prevents the creation of (id int) PK
    t.integer :id, :limit =&gt; 8 # That makes the column type bigint
    t.string :name, :limit =&gt; 32
    t.primary_key :id # This is perfectly ignored :-(
  end
  </code></pre>
  
  <p>The column type will be correct, but the primary key option will not be present with sqlite3 and I suspect that this is the case for MySQL too.</p>