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.

28 lines
1.1 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'],
  14. ['Employee Pass', 'Someone using their employer-provided pass to ride TriMet'],
  15. ['Purchase at Books with Pictures', 'A receipt for a purchase at Books with Pictures'],
  16. ['TriMet Clothing', 'A team member wearing a TriMet-branded item of clothing or gear'],
  17. ['Biketown', 'A team member holding up their Biketown card'],
  18. ['TriMet High-Five', 'A team member high-fiving a TriMet employee who is wearing official agency clothing'],
  19. ['Streetcar Dancing', 'Team members dancing on the Portland Streetcar'],
  20. ['Vintage Heavy Rail', 'Your team posing with a vintage heavy-rail train'],
  21. ['Public Art', 'Your team posing with a piece of public art'],
  22. ];
  23. foreach($documents as $d)
  24. DB::table('m7_documents')->insert(['name' => $d[0], 'description' => $d[1]]);
  25. }
  26. }