title: Delete all data from all tables in Sugar ORM
body: <p>I use Sugar ORM 1.5 in my app and I want to clear all info when the user logoff.</p>
  
  <p>I want to avoid deleting the database file or use pure SQLite scripts if possible.</p>
  
  <p>The only solution I found was using deleteAll on all tables, but I want to know if there is a better way to do it.</p>
  
  <p>Regards,</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I solve the problem I had deleting the database just calling <code>SugarContext.terminate();</code> before deleting the database and <code>SugarContext.init(context);</code> after.</p>
  
  <p>Looks like it's the best solution like Henry Dang pointed in the comments, and it is faster than deleting all data.</p>