app log - model changed to include FKs