first commit

This commit is contained in:
dimon
2025-12-03 17:47:54 +00:00
commit 368ad0a220
100 changed files with 13791 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('components', function (Blueprint $table) {
$table->id();
$table->timestamps();
$table->text('name');
$table->text('type');
$table->text('brand');
$table->text('model');
$table->integer('price');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('components');
}
};