Update through table error message
This commit is contained in:
parent
9729c20e9d
commit
b4dcdfa84f
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue