id(); $table->integer('entity_id'); $table->string('entity_type'); $table->integer('user_id')->nullable(true); $table->string('author_name'); $table->string('author_avatar'); $table->integer('author_rating'); $table->text('content'); $table->datetime('published_at'); $table->string('tmdb_id'); $table->string('tmdb_url'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('comments'); } };