DEV Community

loading...

Discussion on: PostgreSQL vs MongoDB

Collapse
sirseanofloxley profile image
Sean Allin Newell

Postgres! I love postgres because it has nice support for a rich JSON data type and so could be used like a json store (which imo is a bad idea for most domains you try to model), and then you can evolve into a true relational data schema as your app grows and the domain reveals itself. Going full mongo would require a very expensive migration once the domain model reveals itself to the designer/architect/engineers.

Forem Open with the Forem app