Поправил миграции
Some checks are pending
Gitea Actions / Build and deploy (push) Waiting to run

This commit is contained in:
Dhaverd 2024-04-21 14:38:06 +08:00
parent 7615ca7605
commit e6827b7c62
5 changed files with 32 additions and 0 deletions

View File

@ -16,6 +16,7 @@ return new class extends Migration
$table->text("link_name");
$table->text("link");
$table->text("image");
$table->timestamps();
});
}

View File

@ -15,6 +15,7 @@ return new class extends Migration
$table->id("id");
$table->text("weekday_name");
$table->date("current_date");
$table->timestamps();
});
}

View File

@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('games', function (Blueprint $table) {
$table->id("id");
$table->text("name");
$table->timestamps();
});
}

View File

@ -20,6 +20,7 @@ return new class extends Migration
table: "games", column: "id", indexName: "constraint_game_id"
);
$table->text("stream_time");
$table->timestamps();
});
}

View File

@ -0,0 +1,28 @@
<?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('basya_phrases', function (Blueprint $table) {
$table->id();
$table->string('phrase', 255);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('basya_phrases');
}
};