Fix overriding view v2 schema
This commit is contained in:
parent
b7dd40eb6a
commit
af2fac6958
|
@ -97,7 +97,7 @@ export async function save(ctx: any) {
|
||||||
// update schema of non-statistics views when new columns are added
|
// update schema of non-statistics views when new columns are added
|
||||||
for (let view in tableToSave.views) {
|
for (let view in tableToSave.views) {
|
||||||
const tableView = tableToSave.views[view]
|
const tableView = tableToSave.views[view]
|
||||||
if (!tableView) continue
|
if (!tableView || sdk.views.isV2(tableView)) continue
|
||||||
|
|
||||||
if (
|
if (
|
||||||
(tableView.schema as ViewStatisticsSchema).group ||
|
(tableView.schema as ViewStatisticsSchema).group ||
|
||||||
|
|
Loading…
Reference in New Issue