How to modify updated_at column or prevent auto update while updating certain property? #1802
Unanswered
homocodian
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Implimenting trash feature, i have column
_deleted
typeof boolean when i update it i don't wanted to update theupdated_at
column because I'm sorting data byupdated_at
column and don't want to change the order when it is marked as delete.I have already tried managing
updated_at
column with different name_deleted_at
but i'm getting cannot ready of type undefind error.this is not working
Query
Beta Was this translation helpful? Give feedback.
All reactions