LinkStack/database/seeders/ButtonSeeder.php

128 lines
2.1 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'
],
2021-05-22 15:37:18 +02:00
[
'name' => 'tiktok'
],
[
'name' => 'default email'
],
[
'name' => 'default email_alt'
],
2021-04-16 01:00:00 +02:00
];
Button::insert($buttons);
}
}