<?php namespace App\Modules\Backend\Users\Seeds;

use Illuminate\Database\Seeder;
use Eloquent, Str;
use App\Modules\Backend\Users\Models\User;
use Illuminate\Support\Facades\Hash;


class DatabaseSeeder extends \Seeder {

	/**
	* Run the database seeds.
	* @return void
	*/
	public function run()
	{
		Eloquent::unguard();

		/**
		 * Agregamos un usuario nuevo a la base de datos.
		 */
		User::create(array(
            'username' 		=> 'admin',
            'email' 		=> 'gmlo89@hotmail.com',
            'name' 			=> 'Administrador',
            'password' 		=> Hash::make('admin')
        ));
		    
	}

}