add more bettypes to comp with dds for sports
This commit is contained in:
1 parent
61418c8cee
commit
1aa044fff1
14 files changed
+69
-56
No files matched your search
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('odds3way_hts', function (Blueprint $table) {
|
||||
Schema::create('odds_3ways_ht', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('event_id')->index()->constrained()->cascadeOnDelete()->references('id')->on('events');
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
@@ -34,6 +34,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds3way_hts');
|
||||
Schema::dropIfExists('odds_3ways_ht');
|
||||
}
|
||||
};
|
||||
@@ -36,6 +36,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds_q1_points');
|
||||
Schema::dropIfExists('odds_points_q1');
|
||||
}
|
||||
};
|
||||
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('odds_point_ht', function (Blueprint $table) {
|
||||
Schema::create('odds_points_ht', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('event_id')->index()->constrained()->cascadeOnDelete()->references('id')->on('events');
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
@@ -35,6 +35,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds_point_ht');
|
||||
Schema::dropIfExists('odds_points_ht');
|
||||
}
|
||||
};
|
||||
@@ -11,7 +11,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('odds_total_hts', function (Blueprint $table) {
|
||||
Schema::create('odds_totals_ht', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('event_id')->index()->constrained()->cascadeOnDelete()->references('id')->on('events');
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
@@ -35,6 +35,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds_total_hts');
|
||||
Schema::dropIfExists('odds_totals_ht');
|
||||
}
|
||||
};
|
||||
@@ -13,9 +13,9 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('bettype_users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('user_id');
|
||||
$table->integer('user_id')->index();
|
||||
$table->integer('sport_id')->index()->references('id')->on('sports');
|
||||
$table->integer('multiline_setting_id');
|
||||
$table->integer('multiline_setting_id')->index();
|
||||
$table->boolean('is_active')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user