Changeset d795fa6 for database/factories


Ignore:
Timestamp:
10/17/21 18:39:50 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
bd9e8e3
Parents:
120759b
Message:

added validation to blades

Location:
database/factories
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • database/factories/DepartmentFactory.php

    r120759b rd795fa6  
    2828        return [
    2929            'id' => $this->faker->unique()->randomNumber(),
    30             'name' => $this->faker->domainName(),
     30            'name' => $this->faker->name(),
    3131            'code' => $location,
    3232            'location' => 'Departments/' . $location,
  • database/factories/UserFactory.php

    r120759b rd795fa6  
    2929            'password' => $this->faker->password(),
    3030            'email' => $this->faker->email(),
    31             'mobile_number' => $this->faker->phoneNumber(),
     31            'phone_number' => $this->faker->phoneNumber(),
    3232            'role_id' => $this->faker->numberBetween(1, 2),
    3333            'is_online' => $this->faker->boolean,
    3434            'is_confirmed' => $this->faker->boolean,
    3535            'is_forgot_password' => $this->faker->boolean,
     36            'created_by' => "1",
    3637            'created_at' => Carbon::now()
    3738        ];
Note: See TracChangeset for help on using the changeset viewer.