Updating error message.
This commit is contained in:
parent
0ca1c359a5
commit
3a31981778
|
@ -78,7 +78,7 @@
|
||||||
}
|
}
|
||||||
if ($touched.through && invalidThroughTable(fromRelate)) {
|
if ($touched.through && invalidThroughTable(fromRelate)) {
|
||||||
errObj.through =
|
errObj.through =
|
||||||
"Table contains non-nullable columns which aren't 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