We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5983410 commit c247704Copy full SHA for c247704
database/migrations/create_filament_comments_table.php.stub
@@ -11,8 +11,7 @@ return new class extends Migration
11
Schema::create('filament_comments', function (Blueprint $table) {
12
$table->id();
13
$table->unsignedBigInteger('user_id');
14
- $table->string('subject_type');
15
- $table->unsignedBigInteger('subject_id');
+ $table->morphs('subject');
16
$table->longText('comment');
17
$table->timestamps();
18
$table->softDeletes();
0 commit comments