diff options
-rw-r--r-- | workbench/database/migrations/2025_01_18_201725_create_products_table.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/workbench/database/migrations/2025_01_18_201725_create_products_table.php b/workbench/database/migrations/2025_01_18_201725_create_products_table.php index 7c23f58..7ee7127 100644 --- a/workbench/database/migrations/2025_01_18_201725_create_products_table.php +++ b/workbench/database/migrations/2025_01_18_201725_create_products_table.php @@ -13,7 +13,11 @@ return new class extends Migration { Schema::create('products', function (Blueprint $table) { $table->id(); + $table->string('name'); + $table->string('descripton'); + $table->decimal('price', total: 8, places: 2); $table->timestamps(); + $table->softDeletes(); }); } |