Skip to content

Commit ec0d30f

Browse files
authored
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

+2-2
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)