#1111 mssql - handle timestamp and computed columns in clonerows

This commit is contained in:
SPRINX0\prochazka
2025-06-11 11:28:46 +02:00
parent 34bdb72ffd
commit 0146e4a1dd
5 changed files with 5 additions and 0 deletions

View File

@@ -266,6 +266,7 @@ export class TableGridDisplay extends GridDisplay {
uniqueName,
uniquePath,
isPrimaryKey: table.primaryKey && !!table.primaryKey.columns.find(x => x.columnName == col.columnName),
hasAutoValue: col.hasAutoValue,
foreignKey:
table.foreignKeys &&
table.foreignKeys.find(fk => fk.columns.length == 1 && fk.columns[0].columnName == col.columnName),