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.

26 lines
474 B

  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class MissionSeeder extends Seeder
  4. {
  5. /**
  6. * Run the database seeds.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. $missions = [
  13. '#transitspy',
  14. '#intercept',
  15. '#airlair',
  16. '#transittea',
  17. '#sing',
  18. '#passport',
  19. '#document',
  20. ];
  21. foreach($missions as $i=>$m)
  22. DB::table('missions')->insert(['id' => $i+1, 'hashtag' => $m]);
  23. }
  24. }