title: Django Migration-SQL Server
body: <p>I am just learning Django, I have created a model inside an app Book</p>
  
  <pre><code>from django.db import models
  
  class Book(models.Model):
      title = models.CharField(max_length=100)
      author = models.CharField(max_length=50)
      read = models.CharField(max_length=50)
  </code></pre>
  
  <p>Now I want to generate it's correspondence SQL sentence with the help of</p>
  
  <pre><code>python manage.py sql books
  </code></pre>
  
  <p>But it's showing me error </p>
  
  <blockquote>
    <p>CommandError: App 'Books' has migrations. Only the sqlmigrate and sqlflush commands can be used when an app has migrations.</p>
  </blockquote>
  
  <p>I have used <code>makemigrartion</code> and <code>migrate</code> command it's showing no migration is remaining.</p>
  
  <p>Can anyone have any idea regarding to this error?</p>