mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
e4f46c2a4e
* Default database connection - set defaults for engine and strict * Working on tests for refactored model * Fixes for tests, use polymorphic relationships for Invitations * skin the password reset pages
12 lines
261 B
PHP
12 lines
261 B
PHP
<?php
|
|
|
|
use Faker\Generator as Faker;
|
|
|
|
$factory->define(App\Models\Company::class, function (Faker $faker) {
|
|
return [
|
|
'name' => $faker->name,
|
|
'company_key' => strtolower(str_random(RANDOM_KEY_LENGTH)),
|
|
'ip' => $faker->ipv4
|
|
];
|
|
});
|