Changeset 1c25bcf for database


Ignore:
Timestamp:
10/25/21 21:49:53 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
e756bd9
Parents:
05e57e2
Message:

added 2fa, bug fixes, edited blades

Location:
database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • database/factories/FolderFactory.php

    r05e57e2 r1c25bcf  
    2727    public function definition()
    2828    {
    29         $inputArray = [5, 15, 25, 35, 45, 55, 65, 75];
    30         $deptId = Arr::random($inputArray);
     29        //$inputArray = [5, 15, 25, 35, 45, 55, 65, 75];
     30        //$deptId = Arr::random($inputArray);
    3131
    32         //$deptId = $this->faker->numberBetween(1, 10);
     32        $deptId = $this->faker->numberBetween(1, 10);
    3333
    3434        $deptCode = Department::find($deptId)->code;
  • database/migrations/2021_09_27_171107_create_users_table.php

    r05e57e2 r1c25bcf  
    3030            $table->boolean('is_forgot_password')->default(false);
    3131            $table->integer("created_by")->unsigned();
    32             $table->integer('security_code')->nullable();
     32            $table->string('security_code')->nullable();
    3333            $table->string('verify_token')->nullable();
    3434            $table->string('password');
Note: See TracChangeset for help on using the changeset viewer.