@@ -9,7 +9,7 @@ Schema Builder
9
9
:values: tutorial
10
10
11
11
.. meta::
12
- :keywords: php framework, odm, code example, schema facade, php artisan, eloquent, blueprint, artisan, migrate
12
+ :keywords: php framework, odm, code example, schema facade, artisan, eloquent, blueprint, artisan, migrate
13
13
14
14
.. contents:: On this page
15
15
:local:
@@ -68,7 +68,7 @@ following changes to perform the schema changes on your MongoDB database:
68
68
.. tip::
69
69
70
70
If your default database connection is set to anything other than your
71
- MongoDB database, update the following items so that PHP artisan performs
71
+ MongoDB database, update the following items so that Artisan performs
72
72
the migration on the correct database:
73
73
74
74
- Specify ``mongodb`` in the ``$connection`` field of your migration class
@@ -87,18 +87,18 @@ The following example migration class contains the following methods:
87
87
Run or Roll Back a Migration
88
88
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89
89
90
- To run the database migration from a class file, run the following PHP artisan
90
+ To run the database migration from a class file, run the following Artisan
91
91
command after replacing the placeholder:
92
92
93
93
.. code-block:: bash
94
94
95
95
php artisan migrate --path=<path to your migration class file>
96
96
97
- This artisan command runs the ``up()`` function in the class file to create
97
+ This Artisan command runs the ``up()`` function in the class file to create
98
98
the collection and index in the database specified in the ``config/database.php``
99
99
file.
100
100
101
- To roll back the migration, run the following PHP artisan command after
101
+ To roll back the migration, run the following Artisan command after
102
102
replacing the placeholder:
103
103
104
104
.. code-block:: bash
@@ -140,7 +140,7 @@ the number of documents needed to retrieve query results. Certain indexes, such
140
140
as geospatial indexes, extend how you can query the data.
141
141
142
142
To improve query performance by using an index, make sure the index covers
143
- the query. To learn more about indexes and query optimization, see the
143
+ the query. To learn more about indexes and query optimization, see the
144
144
following {+server-docs-name+} entries:
145
145
146
146
- :manual:`Indexes </indexes>`
0 commit comments