id(); $table->unsignedBigInteger('country_id')->nullable(); $table->foreign('country_id')->nullable()->references('id')->on('countries')->onUpdate('cascade')->onDelete('cascade'); $table->string('name'); $table->boolean('enabled')->default(1); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('cities'); } };