[#1] added translations

This commit is contained in:
2024-12-30 03:01:12 +02:00
parent 3d7e0295ae
commit 89432548bd
3 changed files with 93 additions and 0 deletions
@@ -0,0 +1,37 @@
<?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('translations', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('movie_id');
$table->string('iso_3166', 10);
$table->string('iso_639', 10);
$table->string('name');
$table->string('english_name');
$table->string('homepage', 500);
$table->text('overview');
$table->integer('runtime');
$table->string('tagline', 500);
$table->string('title', 500);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('translations');
}
};