title: SQLite3::ConstraintException: FOREIGN KEY constraint failed: DROP TABLE users
body: <p>How to disable(I don't know the correct term yet) foreign keys before <strong>DROP TABLE</strong>?
  OR</p>
  
  <p>correct way to drop a table?</p>
  
  <p>followed steps provided <a href="http://www.sqlitetutorial.net/sqlite-drop-table/" rel="nofollow noreferrer">here</a></p>
  
  <p><a href="https://i.stack.imgur.com/E724S.png" rel="nofollow noreferrer">Image link</a></p>
  
  <p>got the same error again <strong>SQLite3::ConstraintException: FOREIGN KEY constraint failed: DROP TABLE users</strong>.</p>
  
  <pre><code>(byebug) execute "PRAGMA foreign_keys = OFF"
  -- execute("PRAGMA foreign_keys = OFF")
     -&gt; 0.0009s
  []
  (byebug) execute "DROP TABLE users"
  -- execute("DROP TABLE users")
  *** ActiveRecord::InvalidForeignKey Exception: SQLite3::ConstraintException: FOREIGN KEY constraint failed: DROP TABLE users
  
  nil
  </code></pre>