title: Green Dao onUpdate. How can I add new columns to old tables?
body: <p>When using green dao there is some code customisation needed for updating from one schema to the next. For my earlier needs it was sufficient to add any new tables using code like this in DaoMaster.java:</p>
  
  <pre><code> if(oldVersion==SCHEMA_VERSION_OLD_VERSION&amp;&amp; newVersion==SCHEMA_VERSION){
               Log.i("greenDAO", "Upgrading schema from version " + oldVersion + " to " + newVersion + " by adding language &amp; checklist table");                 
               boolean ifNotExists = true;
               NewTableDao.createTable(db, ifNotExists);
               NewTable2Dao.createTable(db, ifNotExists);              
          }
  </code></pre>
  
  <p>And so far it's worked great. However for my current schema I have added more connections between the tables, and after updating from the old version, I get crashes indicating that the new columns don't exist.</p>
  
  <p>Is there a way in greendao to add new columns? do I need to write the sqlite code in a old school fashion to get this going?
  (Any code samples are A LOT of welcome)</p>
  
  <p>Thanks in advance</p>