Modified `initDb` method for Model.
Add `getBuildSql` method for Model.