title: Reset SQLite database in Django
body: <p>I am trying to refactor a Django project. I renamed a couple apps and added a new one, as well as shuffled some models around. I want to clear my database and migrations and start fresh, but I am not sure how to accomplish this. Here's what I did:</p>
  
  <pre><code>rm -r myapp/migrations // I ran this for all my apps    
  python manage.py flush
  python manage.py makemigrations myapp // I ran this for all my apps
  python manage.py migrate // This errors
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>django.db.utils.OperationalError: table "myapp_mymodel" already exists
  </code></pre>
  
  <p>Can anyone tell me what I might be doing wrong?</p>
  
  <p>EDIT: <a href="https://stackoverflow.com/questions/10605940/what-is-the-django-command-to-delete-all-tables">What is the django command to delete all tables?</a> did not work.</p>