Merge branch 'fix/allow-removing-crud-plugins' of github.com:Budibase/budibase into feature/plugin-icons

This commit is contained in:
mike12345567 2022-09-30 08:58:26 +01:00
commit cb0610c367
1 changed files with 2 additions and 6 deletions

View File

@ -67,12 +67,8 @@ function validateDatasource(schema) {
description: joi.string().required(),
datasource: joi.object().pattern(joi.string(), fieldValidator).required(),
query: joi
.object({
create: queryValidator,
read: queryValidator,
update: queryValidator,
delete: queryValidator,
})
.object()
.pattern(joi.string(), queryValidator)
.unknown(true)
.required(),
extra: joi.object().pattern(