Skip to content

Commit

Permalink
DOCSP-39154: Fix Schema Builder typo (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
norareidy authored May 1, 2024
1 parent 3bc0c4a commit ec0d30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/eloquent-models/schema-builder.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ To check whether a collection exists, call the ``hasCollection()`` method on
the ``Schema`` facade in your migration file. You can use this to
perform migration logic conditionally.

The following example migration creates a ``stars`` collection if a collection
named ``telescopes`` exists:
The following example migration creates a ``telescopes`` collection if a collection
named ``stars`` exists:

.. literalinclude:: /includes/schema-builder/stars_migration.php
:language: php
Expand Down

0 comments on commit ec0d30f

Please sign in to comment.