Skip to content

Commit ac4504c

Browse files
author
Chris Cho
committed
PRR fixes
1 parent 26071ac commit ac4504c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/eloquent-models/schema-builder.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Schema Builder
99
:values: tutorial
1010

1111
.. 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
1313

1414
.. contents:: On this page
1515
:local:
@@ -68,7 +68,7 @@ following changes to perform the schema changes on your MongoDB database:
6868
.. tip::
6969

7070
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
7272
the migration on the correct database:
7373

7474
- Specify ``mongodb`` in the ``$connection`` field of your migration class
@@ -87,18 +87,18 @@ The following example migration class contains the following methods:
8787
Run or Roll Back a Migration
8888
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8989

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
9191
command after replacing the placeholder:
9292

9393
.. code-block:: bash
9494

9595
php artisan migrate --path=<path to your migration class file>
9696

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
9898
the collection and index in the database specified in the ``config/database.php``
9999
file.
100100

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
102102
replacing the placeholder:
103103

104104
.. code-block:: bash
@@ -140,7 +140,7 @@ the number of documents needed to retrieve query results. Certain indexes, such
140140
as geospatial indexes, extend how you can query the data.
141141

142142
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
144144
following {+server-docs-name+} entries:
145145

146146
- :manual:`Indexes </indexes>`

docs/includes/schema-builder/flights_migration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
public function up(): void
1414
{
15-
// begin create index
15+
// begin create index
1616
Schema::create('flights', function (Blueprint $collection) {
1717
$collection->index('mission_type');
1818
$collection->index(['launch_location' => 1, 'launch_date' => -1]);
1919
$collection->unique('mission_id', options: ['name' => 'unique_mission_id_idx']);
2020
});
21-
// end create index
21+
// end create index
2222
}
2323

2424
public function down(): void

0 commit comments

Comments
 (0)