|
|
@ -547,6 +547,8 @@ export class TablesService { |
|
|
|
|
|
|
|
|
|
|
|
const uniqueColumnNameCount = {}; |
|
|
|
const uniqueColumnNameCount = {}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mapDefaultDisplayValue(param.table.columns); |
|
|
|
|
|
|
|
|
|
|
|
for (const column of param.table.columns) { |
|
|
|
for (const column of param.table.columns) { |
|
|
|
if ( |
|
|
|
if ( |
|
|
|
!isVirtualCol(column) || |
|
|
|
!isVirtualCol(column) || |
|
|
@ -622,8 +624,6 @@ export class TablesService { |
|
|
|
source_id: source.id, |
|
|
|
source_id: source.id, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
mapDefaultDisplayValue(tableCreatePayLoad.columns); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// todo: type correction
|
|
|
|
// todo: type correction
|
|
|
|
const result = await Model.insert(base.id, source.id, { |
|
|
|
const result = await Model.insert(base.id, source.id, { |
|
|
|
...tableCreatePayLoad, |
|
|
|
...tableCreatePayLoad, |
|
|
|