diff --git a/src/drivers/AbstractDriver.ts b/src/drivers/AbstractDriver.ts index 637bde1..29c0d54 100644 --- a/src/drivers/AbstractDriver.ts +++ b/src/drivers/AbstractDriver.ts @@ -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;