Updated generate/model.php, so that it creates the sql code for database table