char('id', 36)->primary(); $table->char('map_id', 36); // Foreign key to associate with a map $table->float('distance'); $table->string('units'); $table->timestamps(); $table->foreign('map_id')->references('id')->on('maps')->onDelete('cascade'); }); } public function down(): void { Schema::dropIfExists('boundaries'); } };