1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-24 10:21:35 +02:00
invoiceninja/app/database/seeds/UserTableSeeder.php

25 lines
394 B
PHP
Raw Normal View History

2013-11-26 13:45:07 +01:00
<?php
class UserTableSeeder extends Seeder
{
public function run()
{
2013-11-26 22:45:10 +01:00
//DB::table('users')->delete();
2013-11-26 13:45:07 +01:00
/*
2013-11-26 22:45:10 +01:00
$account = Account::create(array(
'name' => 'Acme Inc',
));
$user = User::create(array(
'account_id' => $account->id,
'first_name' => 'Hillel',
2013-11-26 13:45:07 +01:00
'last_name' => 'Coren',
2013-11-26 22:45:10 +01:00
'email' => 'hillelcoren@gmail.com',
2013-11-26 13:45:07 +01:00
'password' => Hash::make('1234'),
));
2013-11-26 22:45:10 +01:00
*/
2013-11-26 13:45:07 +01:00
}
}