diff --git a/directus/schema.json b/directus/schema.json index f5d0493..4e48247 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -3974,6 +3974,52 @@ "searchable": true } }, + { + "collection": "Menu_Link", + "field": "Menu_Column_id", + "type": "uuid", + "schema": { + "name": "Menu_Column_id", + "table": "Menu_Link", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "Menu_Column", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "Menu_Link", + "field": "Menu_Column_id", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, { "collection": "Menu_items", "field": "id", @@ -11823,7 +11869,7 @@ "display_options": null, "readonly": false, "hidden": true, - "sort": 8, + "sort": 7, "width": "full", "translations": null, "note": null, @@ -11835,6 +11881,37 @@ "searchable": true } }, + { + "collection": "Menu_Column", + "field": "links", + "type": "alias", + "schema": null, + "meta": { + "collection": "Menu_Column", + "field": "links", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "template": "{{text}}" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, { "collection": "Menu_Column", "field": "sort", @@ -24005,6 +24082,32 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Menu_Link", + "field": "Menu_Column_id", + "related_collection": "Menu_Column", + "schema": { + "constraint_name": "menu_link_menu_column_id_foreign", + "table": "Menu_Link", + "column": "Menu_Column_id", + "foreign_key_schema": "public", + "foreign_key_table": "Menu_Column", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "Menu_Link", + "many_field": "Menu_Column_id", + "one_collection": "Menu_Column", + "one_field": "links", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, { "collection": "Menu_items", "field": "Menu_id",