This commit is contained in:
2025-01-08 02:08:41 +02:00
parent 60ee3bb759
commit ddbfc95102
3 changed files with 68 additions and 0 deletions
@@ -0,0 +1,29 @@
<?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('show_genres', function (Blueprint $table) {
$table->id();
$table->bigInteger('show_id');
$table->bigInteger('genre_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('show_genres');
}
};