Fix
This commit is contained in:
parent
b937d95de2
commit
42d60ad95b
|
@ -5,7 +5,7 @@ import {
|
||||||
FieldSchema,
|
FieldSchema,
|
||||||
Row,
|
Row,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
import { ValidColumnNameRegex, utils } from "@budibase/shared-core"
|
import { ValidColumnNameRegex, helpers, utils } from "@budibase/shared-core"
|
||||||
import { db } from "@budibase/backend-core"
|
import { db } from "@budibase/backend-core"
|
||||||
import { parseCsvExport } from "../api/controllers/view/exporters"
|
import { parseCsvExport } from "../api/controllers/view/exporters"
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ export function validate(rows: Rows, schema: TableSchema): ValidationResults {
|
||||||
columnData,
|
columnData,
|
||||||
columnType,
|
columnType,
|
||||||
columnSubtype,
|
columnSubtype,
|
||||||
isRequired(constraints)
|
helpers.schema.isRequired(constraints)
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
results.schemaValidation[columnName] = false
|
results.schemaValidation[columnName] = false
|
||||||
|
|
Loading…
Reference in New Issue