Hey there does anyone know how to run the `down` p...
# help
n
Hey there does anyone know how to run the
down
part of a migration using the new sst RDS construct? Can run
up
easily through sst console, but doesn't seem to be an easy way to clear changes if for example I need to change something while in development
t
Click on the previous migration
n
Ahh good to know 🎉, do you know if there is any caching involved in how migrations are applied? Seems when i run
up
again i get the same as previous migration without new changes
Just to share some findings, if I restart by running
sst start
again, the new migration applies correctly. But if i try to run the
down
migration followed by an
up
migration which has changed in the same session, no changes are observed. I suspect this is some caching within sst, not a huge issue since if all im changing is migrations
sst start
is pretty quick, but thought i would let you know 👍
t
hm this is something we explicitly fixed by adding a
?bust=
+ new Date() to the dynamic
import
Let me see if I broke something in the last update
eh looks like the busting doesn't work for the windows fix we did
I just pushed a fix in 65.6 that addresses this
n
Wow awesome, I will check out now!
Can confirm is working as expected
t
sweet