id(); $table->string('name')->nullable(); $table->string('type')->nullable(); $table->string('gender')->default(PetGenderEnum::Unknown->value); $table->string('breed')->nullable(); $table->unsignedInteger('weight')->nullable(); $table->boolean('sterilized')->nullable(); $table->date('birthday')->nullable(); $table->timestamps(); $table->softDeletes(); $table->foreignId('owner_id')->constrained('users')->cascadeOnDelete(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('pets'); } };