|
@ -12,17 +12,18 @@ class DocumentSeeder extends Seeder |
|
|
public function run() |
|
|
public function run() |
|
|
{ |
|
|
{ |
|
|
$documents = [ |
|
|
$documents = [ |
|
|
['Fare Inspection', 'Getting the fare inspected but not by a bus driver'], |
|
|
|
|
|
['Employee Pass', 'Someone using their employer-provided pass to ride TriMet'], |
|
|
|
|
|
['Purchase at Books with Pictures', 'A receipt for a purchase at Books with Pictures'], |
|
|
|
|
|
['TriMet Clothing', 'A team member wearing a TriMet-branded item of clothing or gear'], |
|
|
|
|
|
['Biketown', 'A team member holding up their Biketown card'], |
|
|
|
|
|
['TriMet High-Five', 'A team member high-fiving a TriMet employee who is wearing official agency clothing'], |
|
|
|
|
|
['Streetcar Dancing', 'Team members dancing on the Portland Streetcar'], |
|
|
|
|
|
['Vintage Heavy Rail', 'Your team posing with a vintage heavy-rail train'], |
|
|
|
|
|
['Public Art', 'Your team posing with a piece of public art'], |
|
|
|
|
|
|
|
|
['Fare Inspection', 'Getting the fare inspected but not by a bus driver', 5], |
|
|
|
|
|
['Employee Pass', 'Someone using their employer-provided pass to ride TriMet', 5], |
|
|
|
|
|
['Purchase at Books with Pictures', 'A receipt for a purchase at Books with Pictures', 5], |
|
|
|
|
|
['TriMet Clothing', 'A team member wearing a TriMet-branded item of clothing or gear', 5], |
|
|
|
|
|
['Biketown', 'A team member holding up their Biketown card', 5], |
|
|
|
|
|
['TriMet High-Five', 'A team member high-fiving a TriMet employee who is wearing official agency clothing', 5], |
|
|
|
|
|
['Streetcar Dancing', 'Team members dancing on the Portland Streetcar', 5], |
|
|
|
|
|
['Vintage Heavy Rail', 'Your team posing with a vintage heavy-rail train', 5], |
|
|
|
|
|
['Public Art', 'Your team posing with a piece of public art', 5], |
|
|
|
|
|
['Airport Carpet', 'Your team posing with the PDX airpor carpet (old or new)', 20], |
|
|
]; |
|
|
]; |
|
|
foreach($documents as $d) |
|
|
foreach($documents as $d) |
|
|
DB::table('m7_documents')->insert(['name' => $d[0], 'description' => $d[1]]); |
|
|
|
|
|
|
|
|
DB::table('m7_documents')->insert(['name' => $d[0], 'description' => $d[1], 'points' => $d[2]]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |