wip SimpleExcelReader with LazyCollection
This commit is contained in:
1 parent
baa1117f61
commit
048989fed8
6 files changed
+442
-200
No files matched your search
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use MongoDB\Laravel\Schema\Blueprint;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
protected $connection = 'mongodb';
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('player', function (Blueprint $collection) {
|
||||
$collection->unique('player_id');
|
||||
$collection->index('name');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('player');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user