char('id', 2)->primary()->comment('2 character code.'); $table->char('iso3', 3)->unique('code3')->comment('3 character code.'); $table->string('country', 180)->unique('country')->comment('Name of the country.'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('countries'); } }