radarrplexorganizrnginxsonarrdashboardsabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboardmuximuxlandingpagestartpagelandinghtpcserverhomepage
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							518 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							518 B
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								use Illuminate\Database\Seeder;
							 | 
						|
								use App\User;
							 | 
						|
								
							 | 
						|
								class UsersSeeder extends Seeder
							 | 
						|
								{
							 | 
						|
								    /**
							 | 
						|
								     * Run the database seeds.
							 | 
						|
								     *
							 | 
						|
								     * @return void
							 | 
						|
								     */
							 | 
						|
								    public function run()
							 | 
						|
								    {
							 | 
						|
								        // Groups
							 | 
						|
								        if(!$user = User::find(1)) {
							 | 
						|
								            $user = new User;
							 | 
						|
								            $user->id = 1;
							 | 
						|
								            $user->username = 'admin';
							 | 
						|
								            $user->email = 'admin@test.com';
							 | 
						|
								            $user->password = null;
							 | 
						|
								            $user->save();
							 | 
						|
								        } else {
							 | 
						|
								            //$user->save();
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								}
							 | 
						|
								
							 |