fix @PrimaryGeneratedColumn marked as unique(#239)
This commit is contained in:
parent
a4df1141c4
commit
3e29544063
@ -409,7 +409,6 @@ export default abstract class AbstractDriver {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
col.primary = true;
|
||||
if (
|
||||
primaryIndex!.columns.length === 1 &&
|
||||
col.options.unique
|
||||
) {
|
||||
delete col.options.unique;
|
||||
|
Loading…
Reference in New Issue
Block a user