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