Changeset d795fa6 for database/seeders


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/seeders
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • database/seeders/PermissionsTableSeeder.php

    r120759b rd795fa6  
    2727            ["name" => "delete_all_documents"],         // Delete all document/s
    2828            ["name" => "delete_document"],              // Delete your document/s
     29            ["name" => "manage_file_types"],    // Access all file_types to manage
    2930        ]);
    3031    }
  • database/seeders/RolesPermissionsTableSeeder.php

    r120759b rd795fa6  
    2626            ["role_id" => 1, "permission_id" => 9],
    2727            ["role_id" => 1, "permission_id" => 10],
     28            ["role_id" => 1, "permission_id" => 11],
    2829
    2930            // Referent
     
    3637            ["role_id" => 2, "permission_id" => 9],
    3738            ["role_id" => 2, "permission_id" => 10],
     39            ["role_id" => 2, "permission_id" => 11],
    3840
    3941            // Viewer
  • database/seeders/UsersTableSeeder.php

    r120759b rd795fa6  
    2222            "password" => bcrypt("123456"),
    2323            "email" => "kufliju@gmail.com",
    24             "mobile_number" => "+38971201239",
     24            "phone_number" => "+38971201239",
    2525            "role_id" => 1,
    2626            "is_active" => true,
    2727            "is_confirmed" => true,
     28            "created_by" => "1",
    2829            "created_at" => Carbon::now()
    2930        ]);
Note: See TracChangeset for help on using the changeset viewer.