LinkStack/database/seeders/ButtonSeeder.php
2021-04-16 03:30:00 +04:30

119 lines
1.8 KiB
PHP
Executable File

<?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);
}
}