Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ec0d30f

Browse files
DOCSP-39154: Fix Schema Builder typo (#2924)
1 parent 3bc0c4a commit ec0d30f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎docs/eloquent-models/schema-builder.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ To check whether a collection exists, call the ``hasCollection()`` method on
126126
the ``Schema`` facade in your migration file. You can use this to
127127
perform migration logic conditionally.
128128

129-
The following example migration creates a ``stars`` collection if a collection
130-
named ``telescopes`` exists:
129+
The following example migration creates a ``telescopes`` collection if a collection
130+
named ``stars`` exists:
131131

132132
.. literalinclude:: /includes/schema-builder/stars_migration.php
133133
:language: php

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /