38, 'name' => 'Khmer', 'locale' => 'km_KH']); } if (Schema::hasColumn('companies', 'enable_e_invoice')) { Schema::table('companies', function (Blueprint $table) { $table->dropColumn('enable_e_invoice'); }); } Company::query()->cursor()->each(function ($company) { $company->tax_data = new TaxModel(); $company->save(); }); } /** * Reverse the migrations. * * @return void */ public function down() { // } };