Migration Ticket: Found 0 Docs


I’m getting the following output while running “movie-last-updated-migration.js” file:

Found 0 documents to update
No documents to update

I’m using my URI SRV connection string as host, It’s the same value as MFLIX_DB_URI var inside .env file, but surrounded by quotes.

Not sure what’s missing here,
Please help.

You need to pass the MFLIX_NS value from .env file as well.

Now I have the following output:

Found 23539 documents to update
23539 documents updated

1 Like