id(); $table->string('guid') ->unique(); $table->foreignId('podcast_id') ->constrained() ->cascadeOnDelete() ->cascadeOnUpdate(); $table->json('data'); $table->timestamps(); }); Schema::enableForeignKeyConstraints(); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('episodes'); } };