This commit is contained in:
salam committed 2026-06-06 12:01:53 +02:00
1 parent 57c695c247
commit d4dfb9748c
19 files changed
+269 -7252

No files matched your search

@@ -22,6 +22,7 @@ return new class extends Migration
$table->integer('b365')->default(0);
$table->integer('logi')->default(0);
$table->integer('magl')->default(0);
$table->integer('sofascore')->default(0);
$table->boolean('is_active')->default(0);
$table->timestamps();
@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\Schema;
use MongoDB\Laravel\Schema\Blueprint;
return new class extends Migration
{
protected $connection = 'mongodb';
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('sofascore_events', function (Blueprint $collection) {
$collection->index('match_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sofascore_events');
}
};