@@ -17,46 +17,88 @@ class UserSeeder extends Seeder
1717 */
1818 public function run ()
1919 {
20+ $ orcid = fn (string $ id ) => [
21+ 'academic_profiles ' => ['orcid_id ' => $ id ],
22+ ];
23+
2024 User::factory ()->create ([
2125 'username ' => 'applicationAdminUser ' ,
2226 'email ' => 'applicationAdministrator@meshresearch.net ' ,
2327 'name ' => 'Application Administrator ' ,
2428 'password ' => Hash::make ('adminPassword!@# ' ),
29+ 'profile_metadata ' => $ orcid ('0000-0002-1825-0097 ' ),
2530 ])->assignRole (Role::APPLICATION_ADMINISTRATOR );
2631
2732 User::factory ()->create ([
2833 'username ' => 'publicationAdministrator ' ,
2934 'email ' => 'publicationAdministrator@meshresearch.net ' ,
3035 'name ' => 'Publication Administrator ' ,
3136 'password ' => Hash::make ('publicationadminPassword!@# ' ),
37+ 'profile_metadata ' => $ orcid ('0000-0001-5109-3700 ' ),
3238 ]);
3339
3440 User::factory ()->create ([
3541 'username ' => 'publicationEditor ' ,
3642 'email ' => 'publicationEditor@meshresearch.net ' ,
3743 'name ' => 'Publication Editor ' ,
3844 'password ' => Hash::make ('editorPassword!@# ' ),
45+ 'profile_metadata ' => $ orcid ('0000-0002-1694-233X ' ),
3946 ]);
4047
4148 User::factory ()->create ([
4249 'username ' => 'reviewCoordinator ' ,
4350 'email ' => 'reviewCoordinator@meshresearch.net ' ,
4451 'name ' => 'Review Coordinator for Submission ' ,
4552 'password ' => Hash::make ('coordinatorPassword!@# ' ),
53+ 'profile_metadata ' => $ orcid ('0000-0002-7099-2346 ' ),
4654 ]);
4755
4856 User::factory ()->create ([
4957 'username ' => 'reviewer ' ,
5058 'email ' => 'reviewer@meshresearch.net ' ,
5159 'name ' => 'Reviewer for Submission ' ,
5260 'password ' => Hash::make ('reviewerPassword!@# ' ),
61+ 'profile_metadata ' => $ orcid ('0000-0003-1234-5674 ' ),
5362 ]);
5463
5564 User::factory ()->create ([
5665 'username ' => 'regularUser ' ,
5766 'email ' => 'regularuser@meshresearch.net ' ,
5867 'name ' => 'Regular User ' ,
5968 'password ' => Hash::make ('regularPassword!@# ' ),
69+ 'profile_metadata ' => $ orcid ('0000-0002-8765-4327 ' ),
70+ ]);
71+
72+ User::factory ()->create ([
73+ 'username ' => 'naomiOkafor ' ,
74+ 'email ' => 'naomi.okafor@meshresearch.net ' ,
75+ 'name ' => 'Naomi Okafor ' ,
76+ 'password ' => Hash::make ('regularPassword!@# ' ),
77+ 'profile_metadata ' => $ orcid ('0000-0001-7421-9038 ' ),
78+ ]);
79+
80+ User::factory ()->create ([
81+ 'username ' => 'leaMarchetti ' ,
82+ 'email ' => 'lea.marchetti@meshresearch.net ' ,
83+ 'name ' => 'Léa Marchetti ' ,
84+ 'password ' => Hash::make ('regularPassword!@# ' ),
85+ 'profile_metadata ' => $ orcid ('0000-0003-2154-6781 ' ),
86+ ]);
87+
88+ User::factory ()->create ([
89+ 'username ' => 'hiroshiTanaka ' ,
90+ 'email ' => 'hiroshi.tanaka@meshresearch.net ' ,
91+ 'name ' => 'Hiroshi Tanaka ' ,
92+ 'password ' => Hash::make ('regularPassword!@# ' ),
93+ 'profile_metadata ' => $ orcid ('0000-0002-4498-1126 ' ),
94+ ]);
95+
96+ User::factory ()->create ([
97+ 'username ' => 'priyaRamanathan ' ,
98+ 'email ' => 'priya.ramanathan@meshresearch.net ' ,
99+ 'name ' => 'Priya Ramanathan ' ,
100+ 'password ' => Hash::make ('regularPassword!@# ' ),
101+ 'profile_metadata ' => $ orcid ('0000-0001-9032-7714 ' ),
60102 ]);
61103
62104 User::factory ()->beta ()->create ([
0 commit comments