mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-18 21:12:52 +01:00
8b030a3eea
Replaced (-) hyphen button seed with custom link button as first button
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);
|
|
}
|
|
}
|