diff options
author | Sam Light <samlight1994@gmail.com> | 2025-01-18 23:23:30 +0000 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-01-18 23:23:30 +0000 |
commit | 2c8fdd1d6f07ab5d757395e6a9e8ff4de3f6ec53 (patch) | |
tree | c1663b9c4f70c731442432c9f887571f521c9694 /workbench/database/migrations | |
parent | b49d12a5c2536075a1b23289c291d8dda56940e1 (diff) |
More testing setup
Diffstat (limited to 'workbench/database/migrations')
-rw-r--r-- | workbench/database/migrations/2025_01_18_201725_create_products_table.php | 3 |
1 files changed, 2 insertions, 1 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 7ee7127..4396485 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 @@ -14,8 +14,9 @@ return new class extends Migration Schema::create('products', function (Blueprint $table) { $table->id(); $table->string('name'); - $table->string('descripton'); + $table->string('description'); $table->decimal('price', total: 8, places: 2); + $table->unsignedInteger('stock'); $table->timestamps(); $table->softDeletes(); }); |