refresh database schema before generation

if tables are altered directly in Database Yii cache of database schema might not reflect database changes. This change refreshes the schema cache of Yii.
Merge pull request #16 from zainengineer/patch-1

refresh database schema before generation