Skip to content

Commit 527b0f6

Browse files
committed
fix: Fix foreign key constraint
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 6b93da7 commit 527b0f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Migration/Version5200Date20250728000000.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
4545
if ($schema->hasTable('mail_mailboxes')) {
4646
$table->addForeignKeyConstraint(
4747
$schema->getTable('mail_mailboxes'),
48-
['mailbox_id'],
4948
['id'],
49+
['mailbox_id'],
5050
[
5151
'onDelete' => 'CASCADE',
5252
]

0 commit comments

Comments
 (0)