132 lines
2.1 KiB
PHP
Executable File
132 lines
2.1 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' => 'custom'
|
|
],
|
|
|
|
[
|
|
'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'
|
|
],
|
|
[
|
|
'name' => 'tiktok'
|
|
],
|
|
[
|
|
'name' => 'default email'
|
|
],
|
|
[
|
|
'name' => 'default email_alt'
|
|
],
|
|
];
|
|
|
|
Button::insert($buttons);
|
|
}
|
|
}
|