Skip to content

Commit 24152bb

Browse files
committed
fixes
1 parent 737a009 commit 24152bb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

docs/eloquent-models/schema-builder.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ in the Laravel documentation.
117117
Implement Schema Validation
118118
---------------------------
119119

120-
You can use the ``jsonSchema()`` method to implement **:manual:`schema
121-
validation </core/schema-validation/>`** when using the following schema
120+
You can use the ``jsonSchema()`` method to implement :manual:`schema
121+
validation </core/schema-validation/>` when using the following schema
122122
builder methods:
123123

124-
- ``Schema::create()``: When creating a new collection.
125-
- ``Schema::table()``: When updating collection properties.
124+
- ``Schema::create()``: When creating a new collection
125+
- ``Schema::table()``: When updating collection properties
126126

127127
After you implement schema validation, the server allows you to run only
128128
those write operations which follow the validation rules. Use schema
@@ -166,8 +166,8 @@ contain the ``license_number`` field with an integer value between
166166

167167
If you attempt to insert a document into the ``pilots`` collection that
168168
violates the schema validation rule, {+odm-long+} returns a
169-
:php:`mongodb-driver-exception-bulkwriteexception` because the
170-
validation action is set to ``"error"``.
169+
:php:`BulkWriteException <mongodb-driver-exception-bulkwriteexception>`
170+
because the validation action is set to ``"error"``.
171171

172172
.. _laravel-eloquent-collection-exists:
173173

docs/includes/schema-builder/flights_migration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public function up(): void
3131
'bsonType' => 'integer',
3232
'minimum' => 1000,
3333
'maximum' => 9999,
34-
'description' => 'requires the license_number field with an int value 1000-9999',
3534
],
3635
],
3736
],

0 commit comments

Comments
 (0)