VANA/VANA-php/database/migrations/2025_01_16_210341_add_topic...

27 lines
489 B
PHP
Raw Normal View History

2025-01-16 22:18:12 +01:00
<?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::table('episodes', function (Blueprint $table) {
$table->json('topics')->nullable();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};