If it’s the same flight school they’ll know and have a record of the flight? They will have a training record for you if you’re returning to them.
Get a logbook but check the flight time was actually 60 minutes before filling it in!
It doesn’t make a difference for your medical as you don’t really need the certificate until you fly solo for the first time.