File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,12 @@ in the Laravel documentation.
117117Implement 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
122122builder 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
127127After you implement schema validation, the server allows you to run only
128128those write operations which follow the validation rules. Use schema
@@ -166,8 +166,8 @@ contain the ``license_number`` field with an integer value between
166166
167167If you attempt to insert a document into the ``pilots`` collection that
168168violates 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
Original file line number Diff line number Diff 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 ],
You can’t perform that action at this time.
0 commit comments