How can I reset migrations timestamp
I am using drizzle in one of my projects and somehow the timestamp of migrations were wrong. Trying to fix it, I edited, by hand, the timestamp value in
meta/_journal.json
, increasing the timestamp value present in when
key.
The value I put there is far in the future, and because of that, every new migration that I create is not running due to that inconsistency.
So my question is: Can I fix it? How?
My meta/_journal.json
looks like this:
1 Reply
I figured it out. I need to update created_at timestamp at the database, where drizzle stores and check if the oldest migration is older than the newest one.