1
0
Fork 0
mirror of synced 2024-08-17 11:01:26 +12:00

Update through table error message

This commit is contained in:
Mel O'Hagan 2023-01-19 14:14:29 +00:00
parent 9729c20e9d
commit b4dcdfa84f

View file

@ -83,8 +83,7 @@
errObj.through = tableNotSet errObj.through = tableNotSet
} }
if ($touched.through && invalidThroughTable(fromRelate)) { if ($touched.through && invalidThroughTable(fromRelate)) {
errObj.through = errObj.through = "Ensure non-key columns are nullable or auto-generated"
"Ensure all columns in table are nullable or auto generated"
} }
if ($touched.foreign && !isMany && !fromRelate.fieldName) { if ($touched.foreign && !isMany && !fromRelate.fieldName) {
errObj.foreign = "Please pick the foreign key" errObj.foreign = "Please pick the foreign key"