[#1] processing videos and livewire
This commit is contained in:
@@ -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('videos', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->string('iso_639', 5)->nullable();
|
||||
$table->string('iso_3166', 5)->nullable();
|
||||
$table->string('name', 500)->nullable();
|
||||
$table->string('key')->nullable();
|
||||
$table->string('site', 50)->nullable();
|
||||
$table->integer('size')->nullable();
|
||||
$table->string('type')->nullable();
|
||||
$table->boolean('official');
|
||||
$table->dateTime('published_at');
|
||||
$table->string('tmdb_id');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::dropIfExists('videos');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user