id(); $table->foreignId('type_id')->nullable()->constrained('device_types')->nullOnDelete(); $table->string('brand'); $table->string('serie')->unique(); $table->boolean('status')->default(true); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('devices'); } };