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.

29 lines
1.2 KiB

  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class DocumentSeeder extends Seeder
  4. {
  5. /**
  6. * Run the database seeds.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. $documents = [
  13. ['Fare Inspection', 'Getting the fare inspected but not by a bus driver', 5],
  14. ['Employee Pass', 'Someone using their employer-provided pass to ride TriMet', 5],
  15. ['Purchase at Books with Pictures', 'A receipt for a purchase at Books with Pictures', 5],
  16. ['TriMet Clothing', 'A team member wearing a TriMet-branded item of clothing or gear', 5],
  17. ['Biketown', 'A team member holding up their Biketown card', 5],
  18. ['TriMet High-Five', 'A team member high-fiving a TriMet employee who is wearing official agency clothing', 5],
  19. ['Streetcar Dancing', 'Team members dancing on the Portland Streetcar', 5],
  20. ['Vintage Heavy Rail', 'Your team posing with a vintage heavy-rail train', 5],
  21. ['Public Art', 'Your team posing with a piece of public art', 5],
  22. ['Airport Carpet', 'Your team posing with the PDX airpor carpet (old or new)', 20],
  23. ];
  24. foreach($documents as $d)
  25. DB::table('m7_documents')->insert(['name' => $d[0], 'description' => $d[1], 'points' => $d[2]]);
  26. }
  27. }