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 1f5ac39 commit 60e622eCopy full SHA for 60e622e
database/migrations/create_notes_table.php.stub
@@ -22,7 +22,7 @@ class CreateNotesTable extends Migration
22
$table->nullableMorphs('author');
23
$table->foreignId('parent_id')
24
->nullable()
25
- ->constrained('comments')
+ ->constrained('notes')
26
->onDelete('cascade');
27
$table->timestamps();
28
$table->softDeletes();
0 commit comments