fix player marcatori names
This commit is contained in:
1 parent
3149fa6c12
commit
d5563154e0
27 files changed
+508
-339
No files matched your search
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('sofa_score_events', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('ss_event_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('sofa_score_events');
|
||||
}
|
||||
};
|
||||
|
||||
// ss_event_id
|
||||
// ss_season_name
|
||||
// ss_season_value
|
||||
// ss_starttime_value
|
||||
// ss_hometeamactualscore_value
|
||||
// ss_hometeamregulartimescore_value
|
||||
// ss_awayteamactualscore_value
|
||||
// ss_awayteamregulartimescore_value
|
||||
// corner kicks - ft-h
|
||||
// fouls - ft-h
|
||||
// offsides - ft-h
|
||||
// shots on target - ft-h
|
||||
// total shots - ft-h
|
||||
// yellow cards - ft-h
|
||||
// corner kicks - ft-a
|
||||
// fouls - ft-a
|
||||
// offsides - ft-a
|
||||
// shots on target - ft-a
|
||||
// total shots - ft-a
|
||||
// yellow cards - ft-a
|
||||
// league_code
|
||||
// league_hometeam_code
|
||||
// league_awayteam_code
|
||||
// date-home-away_code
|
||||
// expgoalshome_value
|
||||
// expgoalsaway_value
|
||||
// exp handicap
|
||||
// exp total
|
||||
// update
|
||||
File renamed without changes.
+2
-3
@@ -11,10 +11,9 @@ return new class extends Migration
|
||||
/**
|
||||
* Player Details
|
||||
*/
|
||||
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('player', function (Blueprint $collection) {
|
||||
Schema::create('details', function (Blueprint $collection) {
|
||||
$collection->unique('player_id');
|
||||
$collection->index('name');
|
||||
});
|
||||
@@ -22,6 +21,6 @@ return new class extends Migration
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('player');
|
||||
Schema::dropIfExists('details');
|
||||
}
|
||||
};
|
||||
File renamed without changes.
+3
-3
@@ -9,11 +9,11 @@ return new class extends Migration
|
||||
protected $connection = 'mongodb';
|
||||
|
||||
/**
|
||||
* Player Details
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('marcatori', function (Blueprint $collection) {
|
||||
Schema::create('players', function (Blueprint $collection) {
|
||||
$collection->index('match_id');
|
||||
$collection->index('player_id');
|
||||
});
|
||||
@@ -21,6 +21,6 @@ return new class extends Migration
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('marcatori');
|
||||
Schema::dropIfExists('players');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user