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