Migration Ticket, Error during migration

Hi everyone (this is my first post in the community!) hope everyone is doing good,

I am a bit confused about the migration ticket I am missing something but I could not figure out where
this is my code:

this is the error that I am getting

1 Like

The goal of the migration is to change the data type of lastupdate from a string to a date.

When you call toISOString(), you set the value to a string, not a date.

ohh thank you so much!