LinkStack/database/seeders/ButtonSeeder.php
Julian Prieber 09bd0aed96 Added new buttons
Added new 'Buy me a Coffee' and 'generic Website' buttons
2022-03-17 21:19:30 +01:00

183 lines
2.9 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'
],
[
'name' => 'bandcamp'
],
[
'name' => 'patreon'
],
[
'name' => 'signal'
],
[
'name' => 'venmo'
],
[
'name' => 'cashapp'
],
[
'name' => 'gitlab'
],
[
'name' => 'mastodon'
],
[
'name' => 'paypal'
],
[
'name' => 'whatsapp'
],
[
'name' => 'xing'
],
[
'name' => 'buy me a coffee'
],
[
'name' => 'website'
],
];
Button::insert($buttons);
}
}