diff --git a/database/migrations/2022_07_12_45766_add_matomo.php b/database/migrations/2022_07_12_45766_add_matomo.php index 9ac33fdd905d..5df323980c73 100644 --- a/database/migrations/2022_07_12_45766_add_matomo.php +++ b/database/migrations/2022_07_12_45766_add_matomo.php @@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; -class AddIndexToPaymentHash extends Migration +return new class extends Migration { /** * Run the migrations. @@ -14,8 +14,8 @@ class AddIndexToPaymentHash extends Migration public function up() { Schema::table('companies', function (Blueprint $table) { - $table->varchar('matomo_url')->nullable(); + $table->string('matomo_url',191)->nullable(); $table->bigInteger('matomo_id')->nullable(); }); } -} +}; \ No newline at end of file