From b0027acf348503f02e99cb5d1001f695a04243d7 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 10 Apr 2021 06:36:09 +0200 Subject: [PATCH] Make sure that migrations work on old MySQL servers. --- database/migrations/2020_11_12_070604_changes_for_v550.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2020_11_12_070604_changes_for_v550.php b/database/migrations/2020_11_12_070604_changes_for_v550.php index 5c5902df4f..b6494f6886 100644 --- a/database/migrations/2020_11_12_070604_changes_for_v550.php +++ b/database/migrations/2020_11_12_070604_changes_for_v550.php @@ -150,7 +150,7 @@ class ChangesForV550 extends Migration $table->timestamps(); $table->softDeletes(); $table->integer('user_id', false, true); - $table->string('title', 512)->index(); + $table->string('title', 255)->index(); $table->string('secret', 32)->index(); $table->boolean('active')->default(true); $table->unsignedSmallInteger('trigger', false);