diff --git a/types/lib/model.d.ts b/types/lib/model.d.ts index be93a4381cfe..8297da2257b4 100644 --- a/types/lib/model.d.ts +++ b/types/lib/model.d.ts @@ -1293,9 +1293,9 @@ export interface ModelAttributeColumnOptions extends Co comment?: string; /** - * An object with reference configurations + * An object with reference configurations or the column name as string */ - references?: ModelAttributeColumnReferencesOptions; + references?: string | ModelAttributeColumnReferencesOptions; /** * What should happen when the referenced key is updated. One of CASCADE, RESTRICT, SET DEFAULT, SET NULL or