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.

36 lines
1.0 KiB

  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class TransitCenterSeeder extends Seeder
  4. {
  5. /**
  6. * Run the database seeds.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. // From https://trimet.org/transitcenters/index.htm
  13. $centers = [
  14. 'Beaverton Transit Center',
  15. 'Sunset Transit Center',
  16. 'Clackamas Town Center Transit Center',
  17. 'Gresham Central Transit Center',
  18. 'Hillsboro Central/SE 3rd Ave Transit Center',
  19. 'Willow Creek/SW 185th Ave Transit Center',
  20. 'Lake Oswego Transit Center',
  21. 'Oregon City Transit Center',
  22. 'Barbur Transit Center',
  23. 'Gateway/NE 99th Ave Transit Center',
  24. 'Hollywood/NE 42nd Ave Transit Center',
  25. 'N Lombard Transit Center',
  26. 'Parkrose/Sumner Transit Center',
  27. 'Rose Quarter Transit Center',
  28. 'Tigard Transit Center',
  29. 'Washington Square Transit Center',
  30. ];
  31. foreach($centers as $name)
  32. DB::table('transit_centers')->insert(['name' => $name]);
  33. }
  34. }