Skip to content

Add MongoDB database option to Phoenix installer#6710

Open
tevoinea-mdb wants to merge 1 commit into
phoenixframework:mainfrom
tevoinea-mdb:teo.voinea/mongodb-support
Open

Add MongoDB database option to Phoenix installer#6710
tevoinea-mdb wants to merge 1 commit into
phoenixframework:mainfrom
tevoinea-mdb:teo.voinea/mongodb-support

Conversation

@tevoinea-mdb

@tevoinea-mdb tevoinea-mdb commented Jun 12, 2026

Copy link
Copy Markdown

Hi! I'm opening this PR in coordination with elixir-mongo/mongodb_ecto#205 in mongodb_ecto, that aims to make using MongoDB as seamless as its SQL counterparts.

This PR adds the --database mongodb option and the plumbing necessary so that it behaves like all of the other database options.

@SteffenDE

Copy link
Copy Markdown
Member

Does this work with the other generators, e.g. mix phx.gen.auth?

@tevoinea-mdb tevoinea-mdb force-pushed the teo.voinea/mongodb-support branch from 9930978 to 4a5c56a Compare June 15, 2026 16:34
@tevoinea-mdb tevoinea-mdb force-pushed the teo.voinea/mongodb-support branch from 4a5c56a to 8b817d8 Compare June 15, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants