We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff63b6c commit 9520f80Copy full SHA for 9520f80
adminforth/modules/configValidator.ts
@@ -618,6 +618,7 @@ export default class ConfigValidator implements IConfigValidator {
618
errors.push(`Resource "${res.resourceId}" column "${col.name}" isArray is enabled but suggestOnCreate is not an array`);
619
}
620
621
+
622
if (col.foreignResource) {
623
if (col.foreignResource.onDelete && (col.foreignResource.onDelete !== 'cascade' && col.foreignResource.onDelete !== 'setNull')){
624
errors.push (`Wrong delete strategy you can use 'setNull' or 'cascade'`);
0 commit comments