bettypes
This commit is contained in:
1 parent
10d0bfd096
commit
5fe81c3870
15 files changed
+1232
-258
No files matched your search
@@ -1,28 +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('bettypes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('bettypes');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,68 @@
|
||||
<?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('bettypes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('sport_id')->default(0);
|
||||
$table->integer('bettype_id')->default(0);
|
||||
$table->string('name');
|
||||
$table->text('oddsname');
|
||||
$table->boolean('can_odds_closed')->default(0);
|
||||
$table->boolean('is_spread')->default(0);
|
||||
$table->boolean('ft')->default(0);
|
||||
$table->boolean('ht')->default(0);
|
||||
$table->boolean('h2')->default(0);
|
||||
$table->boolean('co')->default(0);
|
||||
$table->boolean('q1')->default(0);
|
||||
$table->boolean('q2')->default(0);
|
||||
$table->boolean('q3')->default(0);
|
||||
$table->boolean('q4')->default(0);
|
||||
$table->boolean('p1')->default(0);
|
||||
$table->boolean('p2')->default(0);
|
||||
$table->boolean('p3')->default(0);
|
||||
$table->boolean('s1')->default(0);
|
||||
$table->boolean('s2')->default(0);
|
||||
$table->boolean('s3')->default(0);
|
||||
$table->boolean('s4')->default(0);
|
||||
$table->boolean('s5')->default(0);
|
||||
$table->boolean('hth2')->default(0);
|
||||
$table->boolean('htft')->default(0);
|
||||
$table->boolean('and')->default(0);
|
||||
$table->boolean('or')->default(0);
|
||||
$table->boolean('nb')->default(0);
|
||||
$table->boolean('home')->default(0);
|
||||
$table->boolean('away')->default(0);
|
||||
$table->boolean('sup')->default(0);
|
||||
$table->boolean('goals')->default(0);
|
||||
$table->boolean('shots')->default(0);
|
||||
$table->boolean('target')->default(0);
|
||||
$table->boolean('corner')->default(0);
|
||||
$table->boolean('cards')->default(0);
|
||||
$table->boolean('pgoal')->default(0);
|
||||
$table->boolean('pcard')->default(0);
|
||||
$table->boolean('pshots')->default(0);
|
||||
$table->boolean('passist')->default(0);
|
||||
$table->integer('number_odds')->default(0);
|
||||
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('bettypes');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user