Skip to content

Commit 4ddbbdd

Browse files
committed
Update 2023_07_23_155120_create_products_table.php
1 parent 181171a commit 4ddbbdd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/SetUp/Migrations/2023_07_23_155120_create_products_table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ public function up(): void
1313
{
1414
Schema::create('products', function (Blueprint $table) {
1515
$table->id();
16+
1617
$table->string('title');
1718
$table->text('description')->nullable();
19+
$table->softDeletes();
20+
1821
$table->timestamps();
1922
});
2023
}

0 commit comments

Comments
 (0)