title: django.db.migrations.exceptions.InconsistentMigrationHistory
body: <p>When I run <code>python manage.py migrate</code> on my Django project, I get the following error:</p>
  
  <pre><code>Traceback (most recent call last):
  File "manage.py", line 22, in &lt;module&gt;
  execute_from_command_line(sys.argv)
  File "/home/hari/project/env/local/lib/python2.7/site-     packages/django/core/management/__init__.py", line 363, in execute_from_command_line
  utility.execute()
  File "/home/hari/project/env/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
  self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/hari/project/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
  self.execute(*args, **cmd_options)
  File "/home/hari/project/env/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
  output = self.handle(*args, **options)
  File "/home/hari/project/env/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 86, in handle
  executor.loader.check_consistent_history(connection)
  File "/home/hari/project/env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 298, in check_consistent_history
  connection.alias,
  django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency account.0001_initial on database 'default'.
  </code></pre>
  
  <p>I have a user model like below:</p>
  
  <pre><code>class User(AbstractUser):
      place = models.CharField(max_length=64, null=True, blank=True)
      address = models.CharField(max_length=128, null=True, blank=True)
  </code></pre>
  
  <p>How can I solve this problem?</p>