Skip to content

Commit a150b93

Browse files
committed
feat: replace composite primary keys in pivot tables with a single 'id' column and remove original PK
1 parent a825648 commit a150b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Config/migration-generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
'normalizer' => [
4545
'pivot' => [
4646
'class' => PivotProcessor::class,
47-
'requires' => ['primary', 'foreignKey', 'table'],
47+
'requires' => [],
4848
],
4949
],
5050
];

0 commit comments

Comments
 (0)