mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 08:56:00 +00:00
show columns
This commit is contained in:
@@ -36,8 +36,8 @@ class MsSqlAnalyser extends DatabaseAnalayser {
|
||||
.filter(col => col.objectId == table.objectId)
|
||||
.map(({ isNullable, isIdentity, ...col }) => ({
|
||||
...col,
|
||||
notNull: isNullable != 'True',
|
||||
autoIncrement: isIdentity == 'True',
|
||||
notNull: !isNullable,
|
||||
autoIncrement: !!isIdentity,
|
||||
})),
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user