generate models and migrations
added relationships and migration content