id(); $table->foreignId('country_id')->unsigned(); $table->string('name'); $table->integer('status')->default(ApprovalStatus::APPROVED); $table->softDeletes(); $table->timestamps(); $table->foreign('country_id')->references('id')->on('countries'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('states'); } }