firefly-iii/app/database/seeds/DefaultUserSeeder.php
James Cole 12ae548dab - Updated transaction controller to need less code for the same work.
- 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]
2014-07-16 21:11:43 +02:00

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
]
);
}
}