mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 13:56:00 +00:00
show create view
This commit is contained in:
@@ -247,7 +247,7 @@ class MsSqlAnalyser extends DatabaseAnalayser {
|
||||
...row,
|
||||
createSql: getCreateSql(row),
|
||||
columns: viewColumnRows.rows
|
||||
.filter((col) => (col.objectId = row.objectId))
|
||||
.filter((col) => col.objectId == row.objectId)
|
||||
.map(({ isNullable, isIdentity, ...col }) => ({
|
||||
...col,
|
||||
notNull: !isNullable,
|
||||
|
||||
Reference in New Issue
Block a user