You might as well timestamp it

Jerod Santo: There are plenty of times in my career when I’ve stored a boolean and later wished I’d had a timestamp. There are zero times when I’ve stored a timestamp and regretted that decision. Hear hear! Over the years I’ve come to include 9 meta fields for most of the tables I create: added_at, …


This content originally appeared on Bram.us and was authored by Bramus!

Jerod Santo:

There are plenty of times in my career when I’ve stored a boolean and later wished I’d had a timestamp. There are zero times when I’ve stored a timestamp and regretted that decision.

Hear hear! Over the years I’ve come to include 9 meta fields for most of the tables I create: added_at, added_by, added_ip, edited_at, edited_by, edited_ip, deleted_at, deleted_by, and deleted_ip. Handy for whenever you receive a phone call saying that a record has disappeared, allowing you to pinpoint it to a user and a specific timestamp.

You might as well timestamp it →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate Updates
APA

Bramus! | Sciencx (2021-06-04T21:20:05+00:00) You might as well timestamp it. Retrieved from https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/

MLA
" » You might as well timestamp it." Bramus! | Sciencx - Friday June 4, 2021, https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/
HARVARD
Bramus! | Sciencx Friday June 4, 2021 » You might as well timestamp it., viewed ,<https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/>
VANCOUVER
Bramus! | Sciencx - » You might as well timestamp it. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/
CHICAGO
" » You might as well timestamp it." Bramus! | Sciencx - Accessed . https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/
IEEE
" » You might as well timestamp it." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/. [Accessed: ]
rf:citation
» You might as well timestamp it | Bramus! | Sciencx | https://www.scien.cx/2021/06/04/you-might-as-well-timestamp-it/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.