Skip to content

Commit ebd8fad

Browse files
vinceAmstoutzdunglas
authored andcommitted
Incomplete command & indentation
1 parent 5801e18 commit ebd8fad

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/getting-started.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ Open the generated migration class (`database/migrations/<timestamp>_create_prod
262262
Schema::create('products', function (Blueprint $table) {
263263
$table->id();
264264
265-
+ $table->string('name');
266-
+ $table->decimal('price', 8, 2);
267-
+ $table->text('description');
268-
+ $table->boolean('is_active')->default(true);
269-
+ $table->date('created_date')->nullable();
265+
+ $table->string('name');
266+
+ $table->decimal('price', 8, 2);
267+
+ $table->text('description');
268+
+ $table->boolean('is_active')->default(true);
269+
+ $table->date('created_date')->nullable();
270270
271271
$table->timestamps();
272272
});
@@ -276,7 +276,7 @@ Open the generated migration class (`database/migrations/<timestamp>_create_prod
276276
Finally, execute the migration:
277277

278278
```console
279-
php artisan
279+
php artisan migrate
280280
```
281281

282282
And after that, just adding the `#[ApiResource]` attribute as follows onto your model:

0 commit comments

Comments
 (0)