migrated entities to the db and created Entity model