alarm messages
This commit is contained in:
1 parent
5a35b90b0d
commit
004e87e6b5
16 files changed
+452
-28
No files matched your search
@@ -17,6 +17,9 @@ return new class extends Migration
|
||||
$table->integer('user_id')->index()->references('id')->on('users');
|
||||
$table->integer('bookmaker_id')->index()->references('id')->on('bookmakers');
|
||||
$table->integer('alarm_level_id')->default(0);
|
||||
$table->string('fieldname');
|
||||
$table->boolean('notify_by_system')->default(0);
|
||||
$table->boolean('notify_by_email')->default(0);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<?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('odds_names', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('alarm');
|
||||
$table->string('table');
|
||||
$table->string('bettype');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('odds_names');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user