Fixes for matomo migration
This commit is contained in:
parent
647f28ab02
commit
b3d3702df1
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Reference in a new issue