wip grapper tournaments

This commit is contained in:
salam committed 2026-07-29 16:09:59 +02:00
1 parent acf74c5e82
commit 06c014fa1b
9 files changed
+165 -42

No files matched your search

@@ -17,7 +17,6 @@ return new class extends Migration
$table->integer('ssteam_id')->index();
$table->integer('country_id')->default(0)->nullable()->index()->references('id')->on('countries');
$table->string('ssteam_name');
$table->integer('ss_tournament_id')->default(0)->nullable()->index();
$table->boolean('is_active')->default(false);
$table->boolean('disabled')->default(false);
$table->boolean('grapped')->default(false);
@@ -0,0 +1,31 @@
<?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_rosa_tournaments', function (Blueprint $table) {
$table->id();
$table->integer('ssteam_id')->index();
$table->integer('ss_tournament_id')->default(0)->nullable()->index();
$table->boolean('disabled')->default(false);
$table->boolean('grapped')->default(false);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('sofa_score_rosa_tournaments');
}
};