Skip to content

Commit 60e622e

Browse files
authored
Update create_notes_table.php.stub
1 parent 1f5ac39 commit 60e622e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/create_notes_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CreateNotesTable extends Migration
2222
$table->nullableMorphs('author');
2323
$table->foreignId('parent_id')
2424
->nullable()
25-
->constrained('comments')
25+
->constrained('notes')
2626
->onDelete('cascade');
2727
$table->timestamps();
2828
$table->softDeletes();

0 commit comments

Comments
 (0)