You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there any way in watermelon to run some sort of script that will apply the changes that the migration does.
lets say I have a post with comments and each comment can have multiple participants.
my migration will add a participantCount on Post.
I already have data, how can I run a script to update it and ensure that this script runs imminently after the migration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
is there any way in watermelon to run some sort of script that will apply the changes that the migration does.
lets say I have a post with comments and each comment can have multiple participants.
my migration will add a participantCount on Post.
I already have data, how can I run a script to update it and ensure that this script runs imminently after the migration.
Beta Was this translation helpful? Give feedback.
All reactions