string('mKey')->primary(); $table->string('mValue'); }); // Populate the table data $data = File::json(database_path('data/locale.json')); \App\Models\Game\Common\Locale::upsert($data, ['mKey']); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('locale'); } };