<?php

use Illuminate\Database\Seeder;
use App\Estado;

class EstadosTable extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $estados = [
            ['Aguascalientes'],
			['Baja California'],
			['Baja California Sur'],
			['Campeche'],
			['Coahuila de Zaragoza'],
			['Colima'],
			['Chiapas'],
			['Chihuahua'],
			['Distrito Federal'],
			['Durango'],
			['Guanajuato'],
			['Guerrero'],
			['Hidalgo'],
			['Jalisco'],
			['México'],
			['Michoacán de Ocampo'],
			['Morelos'],
			['Nayarit'],
			['Nuevo León'],
			['Oaxaca de Juárez'],
			['Puebla'],
			['Querétaro'],
			['Quintana Roo'],
			['San Luis Potosí'],
			['Sinaloa'],
			['Sonora'],
			['Tabasco'],
			['Tamaulipas'],
			['Tlaxcala'],
			['Veracruz de Ignacio de la Llave'],
			['Yucatán'],
			['Zacatecas']
        ];


        foreach($estados as $e) {
            Estado::create(['name' => $e[0]]);
        }
    }
}
