public function run() { Quote::create(['text' => 'Success is going from failure to failure without losing your enthusiasm', 'author' => 'Winston Churchill', 'background' => '1.jpg']); Quote::create(['text' => 'Dream big and dare to fail', 'author' => 'Norman Vaughan', 'background' => '2.jpg']); Quote::create(['text' => 'It does not matter how slowly you go as long as you do not stop', 'author' => 'Confucius', 'background' => '3.jpg']); Quote::create(['text' => 'Do not wish for an easy life. Wish for the strength to endure a difficult one', 'author' => 'Bruce Lee', 'background' => '4.jpg']); }
public function run() { Quote::create(['text' => 'Success is going from failure to failure without losing your enthusiasm', 'author' => 'Winston Churchill', 'background' => '1.jpg']); Quote::create(['text' => 'Dream big and dare to fail', 'author' => 'Norman Vaughan', 'background' => '2.jpg']); Quote::create(['text' => 'It does not matter how slowly you go as long as you do not stop', 'author' => 'Confucius', 'background' => '3.jpg']); //... add more quotes if you want! $this->call('QuoteTableSeeder'); }