这是indexloc提供的服务,不要输入任何密码
Skip to content

Add guide for helping with created_at and updated_at timestamps #1077

@coco98

Description

@coco98

Let's add a guide to help users model created_at and updated_at timestamps.

For created_at a default value of now() works.
For updated_at a trigger on the lines of: https://x-team.com/blog/automatic-timestamps-with-postgresql/

Metadata

Metadata

Labels

c/docsRelated to docse/intermediatecan be wrapped up in a weekgood first issueGood for newcomersk/ideasDiscuss new ideas / pre-proposals / roadmapp/highcandidate for being included in the upcoming sprint

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions