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
499 B

<?php
use Illuminate\Database\Seeder;
class MissionSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$missions = [
'#transitspy',
'#intercept',
'#airlair',
'#transittea',
'#sing',
'#passport',
'#document',
];
foreach($missions as $i=>$m)
DB::table('missions')->insert(['id' => $i+1, 'hashtag' => $m, 'slug' => trim($m, '#')]);
}
}