add more comment

This commit is contained in:
Fendy Heryanto
2025-12-10 10:47:29 +00:00
parent a45663db73
commit 40f698e1d5

View File

@@ -266,7 +266,7 @@ export class ImportService {
col.system &&
[UITypes.CreatedTime, UITypes.LastModifiedTime].includes(col.uidt);
// we exclude all virtual column except system CreatedTime and LastModifiedTime
// we also include cols marked as pk
// we also include cols marked as pk even if considered virtual
const eitherSystemTimestampOrNotVirtual = (col: Column) =>
isSystemTimestamp(col) || !isVirtualCol(col) || col.pk;