wip
This commit is contained in:
1 parent
49b1eba348
commit
9ca5657827
28 files changed
+288
-234
No files matched your search
@@ -17,6 +17,7 @@ return new class extends Migration
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->timestamp('starttime')->nullable();
|
||||
$table->string('bmoid')->nullable();
|
||||
$table->boolean('is_swopped')->default(0);
|
||||
$table->boolean('in_feed')->default(0);
|
||||
$table->boolean('send_status')->default(0);
|
||||
$table->boolean('has_to_qualify')->index()->default(0);
|
||||
|
||||
@@ -14,6 +14,7 @@ return new class extends Migration
|
||||
Schema::create('bookmakers', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('name_short')->nullable();
|
||||
$table->string('icon')->nullable();
|
||||
$table->string('svg')->nullable();
|
||||
$table->integer('baid')->default(0);
|
||||
|
||||
@@ -14,6 +14,7 @@ return new class extends Migration
|
||||
Schema::create('providers', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->integer('bookmaker_id')->default(0);
|
||||
$table->string('base_url');
|
||||
});
|
||||
}
|
||||
|
||||
@@ -13,13 +13,12 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('multiline_clients', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('client_id')->default(0);
|
||||
$table->integer('client_bookmaker_id')->default(0);
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->boolean('disabled')->default(0);
|
||||
$table->integer('multiline_setting_id')->default(1)->references('id')->on('multiline_settings');
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('position')->default(0);
|
||||
$table->integer('sort')->default(0);
|
||||
$table->integer('level_id')->default(0);
|
||||
$table->decimal('alarm_threshold', 3, 2)->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?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->integer('client_bookmaker_id')->default(0);
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->boolean('disabled')->default(0);
|
||||
$table->integer('multiline_setting_id')->default(1)->references('id')->on('multiline_settings');
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('position')->default(0);
|
||||
$table->integer('sort')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('alarm_settings');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user