mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
fix
This commit is contained in:
@@ -44,8 +44,12 @@ class Analyser extends DatabaseAnalyser {
|
||||
...col,
|
||||
...extractDataType(col.dataType),
|
||||
})),
|
||||
primaryKey: { columns: (table.primaryKeyColumns || '').split(',').map((columnName) => ({ columnName })) },
|
||||
sortingKey: { columns: (table.sortingKeyColumns || '').split(',').map((columnName) => ({ columnName })) },
|
||||
primaryKey: table.primaryKeyColumns
|
||||
? { columns: (table.primaryKeyColumns || '').split(',').map((columnName) => ({ columnName })) }
|
||||
: null,
|
||||
sortingKey: table.sortingKeyColumns
|
||||
? { columns: (table.sortingKeyColumns || '').split(',').map((columnName) => ({ columnName })) }
|
||||
: null,
|
||||
foreignKeys: [],
|
||||
})),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user