Ticket: Migrations

While waiting for answers I tried to change the const mflix to:
const mflix = client.db(“sample_mflix”)

after I first ran it I got the 23…documents found. but when I tried the test multiple additional times I keep getting:
“Found 0 documents to update”

Hi @Amos_Madanes_89196,

The migration script needs to be run single time. When you first ran the script, it found 23… documents to update and updated. Second time, as expected, it won’t find any document to update.

I hope it clears.

Kanika