new file: SRC/config/database.php

modified:   SRC/database/seeds/DatabaseSeeder.php
This commit is contained in:
www
2015-02-15 07:43:10 +01:00
parent 9b16de6f92
commit 71f60bc0be
2 changed files with 140 additions and 3 deletions

View File

@ -27,10 +27,22 @@ class UserTableSeeder extends Seeder {
//DB::table('users')->truncate();
$user = array(
'name' => 'lolman',
'email' => 'quentin.rouland@laposte.net',
'name' => 'admin',
'email' => 'admin@admin.com',
'password' => Hash::make('admin'),
'image' => ''
'image' => '',
'admin' => '1'
);
// Uncomment the below to run the seeder
DB::table('users')->insert($user);
$user = array(
'name' => 'ref',
'email' => 'ref@ref.com',
'password' => Hash::make('ref'),
'image' => '',
'admin' => '0'
);
// Uncomment the below to run the seeder