identification

This commit is contained in:
sidya82
2015-02-15 07:12:44 +01:00
parent ba7b40bb5f
commit af395a32ef
325 changed files with 183 additions and 185 deletions

0
SRC/database/seeds/.gitkeep Normal file → Executable file
View File

22
SRC/database/seeds/DatabaseSeeder.php Normal file → Executable file
View File

@ -14,7 +14,27 @@ class DatabaseSeeder extends Seeder {
{
Model::unguard();
// $this->call('UserTableSeeder');
$this->call('UserTableSeeder');
}
}
class UserTableSeeder extends Seeder {
public function run()
{
// Uncomment the below to wipe the table clean before populating
//DB::table('users')->truncate();
$user = array(
'name' => 'lolman',
'email' => 'quentin.rouland@laposte.net',
'password' => Hash::make('admin'),
'image' => ''
);
// Uncomment the below to run the seeder
DB::table('users')->insert($user);
}
}