You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.6 KiB
PHTML

<?php
use Illuminate\Database\Seeder;
class ThreadsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
6 years ago
/*$titles = array([
"WHY ARE THERE SO MANY ASSASSIN'S CREED GAMES", "This new Yoshi game is awesome!", "I am better at Fortnite than all my friends I am 12",
"This new Yoshi game is awesome!", "OMG!!! Bowser took over Nintendo!", "Grant Kirkhope the best video game composer ever?",
"The coolest Devil May Cry V autocombos", "Sekiro should respect it's playerbase and add an easy mode", "Is everyone who plays Fortnite 12 years old?"
]);
6 years ago
$i=0;
for($i; $i<9; $i++) {
$title = $titles[$i];
$creator = $i+2;
DB::table('threads')->insert([
6 years ago
'thread_title' => $title,
'thread_creator_id' => $creator
]);
6 years ago
}*/
DB::table('threads')->insert([
'thread_title' => "Welcome to GameGab!",
6 years ago
'thread_creator_id' => 1,
'created_at' => date('Y-m-d H:i:s')
]);
6 years ago
DB::table('threads')->insert([
'thread_title' => "Is everyone who plays Fortnite 12 years old?",
'thread_creator_id' => 2,
'created_at' => date('Y-m-d H:i:s')
]);
DB::table('threads')->insert([
'thread_title' => "WHY ARE THERE SO MANY ASSASSIN'S CREED GAMES",
'thread_creator_id' => 3,
'created_at' => date('Y-m-d H:i:s')
]);
}
}