id(); $table->timestamps(); $table->ipAddress('ip_address'); }); Schema::create('site_versions', function (Blueprint $table) { $table->id(); $table->timestamps(); $table->string('version'); $table->json('response')->nullable(); $table->bigInteger('site_id'); $table->foreign('site_id')->references('id')->on('sites'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('site_versions'); Schema::dropIfExists('sites'); } };