mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
20 lines
666 B
PHP
20 lines
666 B
PHP
<?php
|
|
|
|
/**
|
|
* Class DefaultUserSeeder
|
|
*/
|
|
class DefaultUserSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
DB::table('users')->delete();
|
|
if (App::environment() == 'testing' || App::environment() == 'homestead') {
|
|
|
|
User::create(['email' => 'thegrumpydictator@gmail.com', 'password' => 'james', 'reset' => null, 'remember_token' => null]);
|
|
User::create(['email' => 'acceptance@example.com', 'password' => 'acceptance', 'reset' => null, 'remember_token' => null]);
|
|
User::create(['email' => 'functional@example.com', 'password' => 'functional', 'reset' => null, 'remember_token' => null]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|