wip
This commit is contained in:
1 parent
46eb3767f9
commit
148d201d82
13 files changed
+243
-16
No files matched your search
@@ -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('sofa_score_roses', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('country_id')->default(0)->nullable()->index()->references('id')->on('countries');
|
||||
$table->integer('ssteam_id');
|
||||
$table->string('ssteam_name');
|
||||
$table->boolean('is_active')->default(false);
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('sofa_score_roses');
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user