. */ declare(strict_types=1); use Carbon\Carbon; $factory->define( FireflyIII\Models\Account::class, function (Faker\Generator $faker) { return [ 'id' => $faker->unique()->numberBetween(1000, 10000), 'user_id' => 1, 'created_at' => new Carbon, 'updated_at' => new Carbon, 'name' => $faker->words(3, true), 'account_type_id' => random_int(2, 5), 'active' => true, ]; } );