Skip to content

Commit fab7501

Browse files
author
Chris Cho
committed
fix rst
1 parent 265d29c commit fab7501

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/eloquent-models/schema-builder.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ field:
201201
:start-after: begin index options
202202
:end-before: end index options
203203

204-
.. output:
204+
.. output::
205205
:language: json
206206
:visible: false
207207

docs/includes/schema-builder/stars_migration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
use Illuminate\Database\Migrations\Migration;
44
use MongoDB\Laravel\Schema\Blueprint;
55
use Illuminate\Support\Facades\Schema;
6-
6+
77
return new class extends Migration
88
{
99

1010
protected $connect = 'mongodb';
1111

1212
public function up(): void
1313
{
14-
// start conditional create
14+
// begin conditional create
1515
$hasCollection = Schema::hasCollection('stars');
16-
16+
1717
if ($hasCollection) {
1818
Schema::create('telescopes');
1919
}

0 commit comments

Comments
 (0)