|
|
@ -12,7 +12,7 @@ return new class extends Migration |
|
|
|
public function up(): void |
|
|
|
public function up(): void |
|
|
|
{ |
|
|
|
{ |
|
|
|
Schema::create('disposals', function (Blueprint $table) { |
|
|
|
Schema::create('disposals', function (Blueprint $table) { |
|
|
|
$table->uuid('id')->primary(); |
|
|
|
$table->id('id'); |
|
|
|
$table->uuid('mobile_id')->nullable(); |
|
|
|
$table->uuid('mobile_id')->nullable(); |
|
|
|
$table->foreignId('peti_id')->constrained('petis'); |
|
|
|
$table->foreignId('peti_id')->constrained('petis'); |
|
|
|
$table->foreignId('customer_id')->nullable()->constrained('customers')->onDelete('set null'); |
|
|
|
$table->foreignId('customer_id')->nullable()->constrained('customers')->onDelete('set null'); |
|
|
|