[#7] upcoming

This commit is contained in:
2024-12-31 00:51:40 +02:00
parent a483141cae
commit 02009132a4
3 changed files with 152 additions and 0 deletions
@@ -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('upcoming_movies', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('movie_id');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('upcoming_movies');
}
};