Merge pull request #8051 from turbo124/v5-develop

Fixes for matomo migration
This commit is contained in:
David Bomba 2022-12-07 18:55:06 +11:00 committed by GitHub
commit b12014709f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
class AddIndexToPaymentHash extends Migration return new class extends Migration
{ {
/** /**
* Run the migrations. * Run the migrations.
@ -14,8 +14,8 @@ class AddIndexToPaymentHash extends Migration
public function up() public function up()
{ {
Schema::table('companies', function (Blueprint $table) { Schema::table('companies', function (Blueprint $table) {
$table->varchar('matomo_url')->nullable(); $table->string('matomo_url',191)->nullable();
$table->bigInteger('matomo_id')->nullable(); $table->bigInteger('matomo_id')->nullable();
}); });
} }
} };