mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Fix creation of junction fields on m2m when using corresponding
Fixes #368
This commit is contained in:
@@ -55,7 +55,7 @@ router.get(
|
||||
const newFieldSchema = Joi.object({
|
||||
collection: Joi.string().optional(),
|
||||
field: Joi.string().required(),
|
||||
type: Joi.string().valid(...types),
|
||||
type: Joi.string().valid(...types, null),
|
||||
schema: Joi.object({
|
||||
comment: Joi.string().allow(null),
|
||||
default_value: Joi.any(),
|
||||
|
||||
Reference in New Issue
Block a user