Multiline Setting compleated
This commit is contained in:
1 parent
c6fd66189b
commit
bb71c4b406
14 files changed
+129
-68
No files matched your search
+3
-4
@@ -11,13 +11,12 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::create('multilines', function (Blueprint $table) {
|
||||
Schema::create('multiline_clients', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('client_id')->default(0);
|
||||
$table->integer('sport_id');
|
||||
$table->boolean('disabled')->default(0);
|
||||
$table->string('table')->nullable();
|
||||
$table->string('name')->nullable();
|
||||
$table->integer('multiline_setting_id')->default(1);
|
||||
$table->integer('bookmaker_id')->default(0);
|
||||
$table->integer('sort')->default(0);
|
||||
$table->timestamps();
|
||||
@@ -29,6 +28,6 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('multilines');
|
||||
Schema::dropIfExists('multiline_clients');
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
<?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('multiline_users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('user_id')->default(0);
|
||||
$table->integer('sport_id')->default(1);
|
||||
$table->integer('multiline_setting_id')->default(1);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('multiline_users');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user