database/seeds/SourcesTableSeeder.php
/**
	 * Run the database seeds.
	 *
	 * @return void
	 */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run() {
		DB::table ( 'sources' )->insert ( [ 
				'name' => 'Wasla',
				'code' => 'WS' 
		] );
		DB::table ( 'sources' )->insert ( [ 
				'name' => 'Echo',
				'code' => 'EC' 
		] );
		DB::table ( 'sources' )->insert ( [ 
				'name' => 'Tawasol',
				'code' => 'TW' 
		] );
	}
public function run ( ) { DB :: table ( 'sources' ) -> insert ( [ 'name' => 'Wasla' , 'code' => 'WS' ] ) ; DB :: table ( 'sources' ) -> insert ( [ 'name' => 'Echo' , 'code' => 'EC' ] ) ; DB :: table ( 'sources' ) -> insert ( [ 'name' => 'Tawasol' , 'code' => 'TW' ] ) ; }
Run the database seeds.
Run the database seeds .