Closed artemszelenov closed 1 month ago
I think the key to this issue is that you are "publishing". We should be getting the createdAt off of the initial document and not the versions document.
We have some int tests for databases in test/database/int.spec.ts
that cover different handling of createdAt and updatedAt and this would be good to add to tests/versions/int.spec.ts as well.
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
🚀 This is included in version v3.0.0-beta.105
Link to reproduction
No response
Environment Info
Describe the Bug
Last modified and Created At always the same. I expect that when I modify an article and save it Last modified should be updated but Created At stayed the same.
Reproduction Steps
Adapters and Plugins
db-postgres