title: Django BigInteger auto-increment field as primary key?
body: <p>I'm currently building a project which involves a lot of collective intelligence. Every user visiting the web site gets created a unique profile and their data is later used to calculate best matches for themselves and other users.</p>
  
  <p>By default, Django creates an INT(11) <code>id</code> field to handle models primary keys. I'm concerned with this being overflown very quickly (i.e. ~2.4b devices visiting the page without prior cookie set up). How can I change it to be represented as BIGINT in MySQL and long() inside Django itself?</p>
  
  <p>I've found I could do the following (<a href="http://docs.djangoproject.com/en/dev/ref/models/fields/#bigintegerfield" rel="noreferrer">http://docs.djangoproject.com/en/dev/ref/models/fields/#bigintegerfield</a>):</p>
  
  <pre><code>class MyProfile(models.Model):
      id = BigIntegerField(primary_key=True)
  </code></pre>
  
  <p>But is there a way to make it autoincrement, like usual <code>id</code> fields? Additionally, can I make it unsigned so that I get more space to fill in?</p>
  
  <p>Thanks!</p>