wip import

This commit is contained in:
salam committed 2026-04-21 11:25:40 +02:00
1 parent 048989fed8
commit 4fa4e1a611
11 files changed
+48902 -141

No files matched your search

@@ -0,0 +1,30 @@
<?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('events', function (Blueprint $collection) {
$collection->index('league_id');
$collection->index('home_id');
$collection->index('away_id');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('events');
}
};