title: Getting Error : 'ERROR [root] Error: No support for ALTER of constraints in SQLite dialect' while running 'flask db upgrade'
body: <p>I have a flask application running with Sql Alchemy. Recently I have modified a table. And did it again. Initially it was working fine. But when I tried to migrate the db with command :</p>
  
  <pre><code>flask db migrate
  </code></pre>
  
  <p>I am getting error as : </p>
  
  <pre><code>ERROR [root] Error: Target database is not up to date.
  </code></pre>
  
  <p>With analysis I came to know that last migration was not successful and I have to run the following command to solve it.</p>
  
  <pre><code>flask db stamp head
  flask db migrate
  flask db upgrade
  </code></pre>
  
  <p>I did the same but now I am getting error in 'flask db upgrade' as below :</p>
  
  <pre><code>ERROR [root] Error: No support for ALTER of constraints in SQLite dialect
  </code></pre>
  
  <p>How can this be solved...?</p>
  
  <p>The application is development and I can drop the tables if needed and initialize the db again. If I drop the tables, do I need to drop 'alembic_version' table as well...??</p>