mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 22:43:20 -06:00
12ae548dab
- Small feedback bug in migration controller - Better database create scripts. - Fixed bug in seed scripts. - Cleanup and fixed sorting in various helpers - Extended some tests to catch changed code. - Created show(journal) and edit(journal) (untested) [skip-ci]
21 lines
419 B
PHP
21 lines
419 B
PHP
<?php
|
|
|
|
class DefaultUserSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
DB::table('users')->delete();
|
|
|
|
User::create(
|
|
[
|
|
'email' => 's@nder.be',
|
|
'password' => Hash::make('sander'),
|
|
'reset' => null,
|
|
'remember_token' => null,
|
|
'migrated' => 0
|
|
]
|
|
);
|
|
|
|
}
|
|
|
|
}
|