LinkStack/database/seeders/ButtonSeeder.php

119 lines
1.8 KiB
PHP
Raw Normal View History

2021-04-16 01:00:00 +02:00
<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Button;
class ButtonSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$buttons = [
[
'name' => 'github'
],
[
'name' => 'twitter'
],
[
'name' => 'instagram'
],
[
'name' => 'facebook'
],
[
'name' => 'messenger'
],
[
'name' => 'linkedin'
],
[
'name' => 'youtube'
],
[
'name' => 'discord'
],
[
'name' => 'twitch'
],
[
'name' => 'snapchat'
],
[
'name' => 'spotify'
],
[
'name' => 'reddit'
],
[
'name' => 'medium'
],
[
'name' => 'pinterest'
],
[
'name' => 'soundcloud'
],
[
'name' => 'figma'
],
[
'name' => 'kit'
],
[
'name' => 'telegram'
],
[
'name' => 'tumblr'
],
[
'name' => 'steam'
],
[
'name' => 'vimeo'
],
[
'name' => 'wordpress'
],
[
'name' => 'goodreads'
],
[
'name' => 'skoob'
],
];
Button::insert($buttons);
}
}