From 83fa39f5796abc1323332812782cf1347c8b3a66 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Thu, 12 May 2022 14:47:07 +0200 Subject: [PATCH] Fixed error when migrating database with MySQL --- database/migrations/2021_03_18_082008_create_links_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2021_03_18_082008_create_links_table.php b/database/migrations/2021_03_18_082008_create_links_table.php index 89097cf..9e2b467 100755 --- a/database/migrations/2021_03_18_082008_create_links_table.php +++ b/database/migrations/2021_03_18_082008_create_links_table.php @@ -25,8 +25,8 @@ class CreateLinksTable extends Migration $table->foreign('user_id')->references('id')->on('users'); $table->foreign('button_id')->references('id')->on('buttons'); $table->timestamps(); - $table->text('custom_css')->default(''); - $table->text('custom_icon')->default('fa-external-link'); + $table->string('custom_css')->default(''); + $table->string('custom_icon')->default('fa-external-link'); }); }