changes for generating scaffold when using non-SQL database to store models