-
Notifications
You must be signed in to change notification settings - Fork 1.5k
DOCSP-38344: docs cleanup #2902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! very throrough
- Specify ``"mongodb"`` in the ``$connection`` field of your migration class | ||
- Make sure your ``connections`` array item contains a valid ``mongodb`` | ||
entry in your ``config/database.php`` file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s; reverse these items' order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can also edit the text on the Fundamentals landing page to match the list items
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
.. code-block:: php | ||
:emphasize-lines: 2-6 | ||
|
||
'connections' => [ | ||
'mongodb' => [ | ||
'driver' => 'mongodb', | ||
'dsn' => env('DB_URI', '<connection string>'), | ||
'dsn' => env('DB_URI'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that we can still set de default value mongodb://localhost:27017/
. But that may confuse a beginner, so it's okay to remove the default value.
JIRA: https://jira.mongodb.org/browse/DOCSP-38344
Staging:
https://preview-mongodbcchomongodb.gatsbyjs.io/laravel/DOCSP-38344-cleanup/
Related docs PR: https://github.com/10gen/docs-laravel/pull/74
Checklist