Timestamps of schemaOptions #1790
Unanswered
diego-rapoport
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Maybe by using the decorator: @model({schemaOptions: {timestamps: {createdAt}}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
So I saw that is possible to change the names
createdAt
andupdatedAt
, but couldn't find a clear example of it. From the lib itself it says that I need to changetimestamps.createdAt
inside the class, but I couldn't figure it out how.Can someone help?
Beta Was this translation helpful? Give feedback.
All reactions