public function run() { DB::table('identification_type')->truncate(); /** * Topos de identificaciòn para Colombia ("countryId" => 53) */ $identificationTypeList = [["countryId" => 53, "countryKey" => '', "name" => 'Cédula ciudadanía', "abbeviation" => 'CC'], ["countryId" => 53, "countryKey" => '', "name" => 'Cédula de extranjería', "abbeviation" => 'CE'], ["countryId" => 53, "countryKey" => '', "name" => 'Pasaporte', "abbeviation" => 'PA'], ["countryId" => 53, "countryKey" => '', "name" => 'Registro civil', "abbeviation" => 'RC'], ["countryId" => 53, "countryKey" => '', "name" => 'Tarjeta de identidad', "abbeviation" => 'TI'], ["countryId" => 53, "countryKey" => '', "name" => 'Adulto sin identificación', "abbeviation" => 'AS'], ["countryId" => 53, "countryKey" => '', "name" => 'Menor sin identificación', "abbeviation" => 'MS']]; foreach ($identificationTypeList as $identificationType) { IdentificationType::create($identificationType); } }