do not specify @index (primary keys only)
This commit is contained in:
parent
74be5631f6
commit
e51a2e587f
@ -340,7 +340,7 @@ export default class MssqlDriver extends AbstractDriver {
|
||||
records.forEach((record) => {
|
||||
indexInfo.columns.push(record.ColumnName);
|
||||
});
|
||||
ent.indices.push(indexInfo);
|
||||
if (indexInfo.primary) ent.indices.push(indexInfo);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user