title: ValueError while migrating a model in DJango
body: <p>I am trying to create a simple model in Django. The expected fields are some text and owner's user id. However, this is what happens when I execute manage.py migrate (makemigrations worked without an error). I would appreciate any clues to this!</p>
  <pre><code>Running migrations:
    Applying manage_remittance.0001_initial... OK
    Applying manage_remittance.0002_remittance_owner...Traceback (most recent call last):
  ...
  ValueError: invalid literal for int() with base 10: 'default'
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
  ...
  ValueError: Field 'id' expected a number but got 'default'.
  </code></pre>
  <p>models.py</p>
  <pre><code>from django.db import models
  from django.contrib.auth.models import User
  
  class Remittance(models.Model):
      owner = models.ForeignKey(User, on_delete=models.CASCADE)
      remittance_text = models.CharField(max_length=140)
  
      def __str__(self):
          return self.remittance_text
  </code></pre>
  <p>admin.py</p>
  <pre><code>from django.contrib import admin
  from .models import Remittance
  
  admin.site.register(Remittance)
  </code></pre>
  <p>0002_remittance_owner.py (I have no idea why this was around as I migrated back to version zero and then did makemigrations with the models.py as shown above):</p>
  <pre><code>from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('manage_remittance', '0001_initial'),
      ]
  
      operations = [
          migrations.AddField(
              model_name='remittance',
              name='owner',
              field=models.ForeignKey(default='default', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
      ]
  </code></pre>