From 9fc837c09be3f632334a5288262e3cd946a3b63d Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Nov 2022 11:36:01 +0100 Subject: [PATCH] Update 2022_09_22_123137_link-type.php --- .../migrations/2022_09_22_123137_link-type.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/database/migrations/2022_09_22_123137_link-type.php b/database/migrations/2022_09_22_123137_link-type.php index 7aa369b..be433c8 100644 --- a/database/migrations/2022_09_22_123137_link-type.php +++ b/database/migrations/2022_09_22_123137_link-type.php @@ -56,11 +56,18 @@ class LinkType extends Migration public function SeedLinkTypes() { + DB::table($this->TableName)->updateOrInsert([ + 'typename' => 'predefined', + 'title' => 'Predefined Site', + 'icon' => 'bi bi-boxes', + 'description' => 'Select from a list of predefined websites and have your link automatically styled using that sites brand colors and icon.' + ]); + DB::table($this->TableName)->updateOrInsert([ 'typename' => 'link', 'title' => 'Custom Link', 'icon' => 'bi bi-link', - 'description' => 'Create a Custom Button that goes to any website. ', + 'description' => 'Create a Custom Link that goes to any website. Customize the button styling and icon, or use the favicon from the website as the button icon.', 'params' => '[{ "tag": "input", "id": "link_title", @@ -86,13 +93,6 @@ class LinkType extends Migration ]' ]); - DB::table($this->TableName)->updateOrInsert([ - 'typename' => 'predefined', - 'title' => 'Predefined Site', - 'icon' => 'bi bi-boxes', - 'description' => 'Select from a list of predefined websites and have your link automatically styled using that sites brand colors and icon.' - ]); - DB::table($this->TableName)->updateOrInsert([ 'typename' => 'heading', 'title' => 'Heading',