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