Should terms and conditions that user accept upon registration and making reservations on a system being captured in a database?

If yes, what is the proper way to do this (e.g. timestamp + IP (the ip address of the users device) + version number of T & C document)?

If no, what is the proper way to handle this in any other way?