Update through table error message
This commit is contained in:
parent
ecbd01a546
commit
fd56d0925b
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue