DEV Community

Discussion on: Building a MongoDB migration system for NestJS with mongoose

Collapse
 
bassochette profile image
Julien Prugne

In production database you might need to apply migration on existing data even in document oriented database.
For example: you can clean some legacy data. (GDPR compliance for example)
Seeding is only for new data or starting a new environment.

Collapse
 
buryo profile image
Bsn

That's true, I see the use of it now thanks!