* #118 - wip * #118 - keys * #118 - fix * #118 - fix menu * #118 - fix to policies and added translations * #118 - wip * #118 - tests * #118 - fix * #118 - fix * #118 - fix * Update resources/lang/pl.json Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> * #118 - cr fix Co-authored-by: EwelinaLasowy <ewelina.lasowy@blumilk.pl> Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			373 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			373 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| namespace Database\Factories;
 | |
| 
 | |
| use Illuminate\Database\Eloquent\Factories\Factory;
 | |
| use Toby\Eloquent\Models\Key;
 | |
| use Toby\Eloquent\Models\User;
 | |
| 
 | |
| class KeyFactory extends Factory
 | |
| {
 | |
|     protected $model = Key::class;
 | |
| 
 | |
|     public function definition(): array
 | |
|     {
 | |
|         return [
 | |
|             "user_id" => User::factory(),
 | |
|         ];
 | |
|     }
 | |
| }
 |