cleanup comparatore

This commit is contained in:
salam committed 2025-12-12 07:35:03 +01:00
1 parent 2052ccdd77
commit adaec7b3dc
21 files changed
+98 -205

No files matched your search

@@ -18,6 +18,7 @@ return new class extends Migration
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->integer('client_id')->index();
$table->integer('sport_id')->index();
$table->boolean('super_admin')->default(false);
$table->text('app_authentication_secret')->nullable();
@@ -1,35 +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('comparatores', function (Blueprint $table) {
$table->id();
$table->integer('match_id');
$table->integer('sport_id')->default(0);
$table->integer('bookmaker_id')->default(0);
$table->string('pushmode')->nullable();
$table->string('hash')->nullable();
$table->longText('fdata')->nullable()->default('text');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('comparatores');
}
};
@@ -1,30 +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('alarm_settings', function (Blueprint $table) {
$table->id();
$table->foreignId('client_id')->constrained()->cascadeOnDelete();
$table->integer('sport_id')->default(0);
$table->integer('bookmaker_id')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('alarm_settings');
}
};
@@ -1,30 +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('comparatore_settings', function (Blueprint $table) {
$table->id();
$table->foreignId('client_id')->constrained()->cascadeOnDelete();
$table->integer('sport_id')->default(0);
$table->integer('bettype_id')->default(0);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('comparatore_settings');
}
};