DEV Community

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

bassochette profile image
Julien Prugne Author

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.