{ "data": { "version": 1, "directus": "11.17.1", "vendor": "postgres", "collections": [ { "collection": "mayo_clients", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_clients", "color": null, "display_template": null, "group": null, "hidden": false, "icon": "music_note", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_clients" } }, { "collection": "mayo_color", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_color", "color": null, "display_template": null, "group": null, "hidden": false, "icon": "music_note", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_color" } }, { "collection": "mayo_lisst_products", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_lisst_products", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_lisst_products" } }, { "collection": "mayo_lists", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_lists", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_lists" } }, { "collection": "mayo_models", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_models", "color": null, "display_template": "{{name}}", "group": null, "hidden": false, "icon": "music_note", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_models" } }, { "collection": "mayo_operations", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_operations", "color": null, "display_template": null, "group": null, "hidden": false, "icon": "music_note", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_operations" } }, { "collection": "mayo_order_porducts", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_order_porducts", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_order_porducts" } }, { "collection": "mayo_orders", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_orders", "color": null, "display_template": null, "group": null, "hidden": false, "icon": "music_note", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_orders" } }, { "collection": "mayo_part_events", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_part_events", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_part_events" } }, { "collection": "mayo_parts", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_parts", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_parts" } }, { "collection": "mayo_products", "meta": { "accountability": "all", "archive_app_filter": true, "archive_field": null, "archive_value": null, "collapse": "open", "collection": "mayo_products", "color": null, "display_template": null, "group": null, "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, "sort": null, "sort_field": null, "translations": null, "unarchive_value": null, "versioning": false }, "schema": { "name": "mayo_products" } } ], "fields": [ { "collection": "mayo_clients", "field": "id", "type": "integer", "meta": { "collection": "mayo_clients", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_clients", "data_type": "integer", "default_value": "nextval('mayo_clients_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_clients", "field": "name", "type": "string", "meta": { "collection": "mayo_clients", "conditions": null, "display": null, "display_options": null, "field": "name", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "Nazwa odbiorcy" }, "readonly": false, "required": true, "searchable": true, "sort": 2, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "name", "table": "mayo_clients", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_clients", "field": "country", "type": "string", "meta": { "collection": "mayo_clients", "conditions": null, "display": null, "display_options": null, "field": "country", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "Kraj odbiorcy" }, "readonly": false, "required": true, "searchable": true, "sort": 3, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "country", "table": "mayo_clients", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_color", "field": "id", "type": "integer", "meta": { "collection": "mayo_color", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_color", "data_type": "integer", "default_value": "nextval('mayo_color_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_color", "field": "name", "type": "string", "meta": { "collection": "mayo_color", "conditions": null, "display": null, "display_options": null, "field": "name", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "nazwa kolory" }, "readonly": false, "required": true, "searchable": true, "sort": 2, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "name", "table": "mayo_color", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lisst_products", "field": "id", "type": "integer", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_lisst_products", "data_type": "integer", "default_value": "nextval('mayo_lisst_products_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lisst_products", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_lisst_products", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_lisst_products", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_lisst_products", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lisst_products", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_lisst_products", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_lisst_products", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_lisst_products", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lisst_products", "field": "product_id", "type": "integer", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": null, "display_options": null, "field": "product_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": null, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "product_id", "table": "mayo_lisst_products", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_products", "foreign_key_column": "id" } }, { "collection": "mayo_lisst_products", "field": "list_id", "type": "integer", "meta": { "collection": "mayo_lisst_products", "conditions": null, "display": null, "display_options": null, "field": "list_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}" }, "readonly": false, "required": true, "searchable": true, "sort": 7, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "list_id", "table": "mayo_lisst_products", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_lists", "foreign_key_column": "id" } }, { "collection": "mayo_lists", "field": "id", "type": "integer", "meta": { "collection": "mayo_lists", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_lists", "data_type": "integer", "default_value": "nextval('mayo_lists_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lists", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_lists", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_lists", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_lists", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_lists", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_lists", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lists", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_lists", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_lists", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_lists", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_lists", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_lists", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lists", "field": "name", "type": "string", "meta": { "collection": "mayo_lists", "conditions": null, "display": null, "display_options": null, "field": "name", "group": null, "hidden": false, "interface": "input", "note": null, "options": null, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "name", "table": "mayo_lists", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lists", "field": "description", "type": "string", "meta": { "collection": "mayo_lists", "conditions": null, "display": null, "display_options": null, "field": "description", "group": null, "hidden": false, "interface": "input", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 7, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "description", "table": "mayo_lists", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_lists", "field": "mayo_lisst_products_id", "type": "alias", "meta": { "collection": "mayo_lists", "conditions": null, "display": null, "display_options": null, "field": "mayo_lisst_products_id", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 8, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } }, { "collection": "mayo_models", "field": "id", "type": "integer", "meta": { "collection": "mayo_models", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_models", "data_type": "integer", "default_value": "nextval('mayo_models_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_models", "field": "name", "type": "string", "meta": { "collection": "mayo_models", "conditions": null, "display": null, "display_options": null, "field": "name", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "Nazwa modelu gitary" }, "readonly": false, "required": true, "searchable": true, "sort": 2, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "name", "table": "mayo_models", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_models", "field": "neck_construction", "type": "string", "meta": { "collection": "mayo_models", "conditions": null, "display": null, "display_options": null, "field": "neck_construction", "group": null, "hidden": false, "interface": "select-dropdown", "note": null, "options": { "choices": [ { "text": "NTB", "value": "NTB" }, { "text": "BOLT_ON", "value": "BOLT_ON" }, { "text": "SET_IN", "value": "SET_IN" } ] }, "readonly": false, "required": true, "searchable": true, "sort": 3, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "neck_construction", "table": "mayo_models", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_operations", "field": "id", "type": "integer", "meta": { "collection": "mayo_operations", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_operations", "data_type": "integer", "default_value": "nextval('mayo_operations_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_operations", "field": "name", "type": "string", "meta": { "collection": "mayo_operations", "conditions": null, "display": null, "display_options": null, "field": "name", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "Nazwa operacji" }, "readonly": false, "required": true, "searchable": true, "sort": 2, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "name", "table": "mayo_operations", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_operations", "field": "description", "type": "text", "meta": { "collection": "mayo_operations", "conditions": null, "display": null, "display_options": null, "field": "description", "group": null, "hidden": false, "interface": "input-multiline", "note": null, "options": { "clear": true, "placeholder": "Opis operacji / wykorzystanych środków" }, "readonly": false, "required": false, "searchable": true, "sort": 3, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "description", "table": "mayo_operations", "data_type": "text", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_order_porducts", "field": "id", "type": "integer", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_order_porducts", "data_type": "integer", "default_value": "nextval('mayo_order_porducts_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_order_porducts", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_order_porducts", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_order_porducts", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_order_porducts", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_order_porducts", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_order_porducts", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_order_porducts", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_order_porducts", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_order_porducts", "field": "product_id", "type": "integer", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": null, "display_options": null, "field": "product_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "filter": { "_and": [ { "id": { "_nin": [ "{{mayo_order_products.id}}" ] } } ] } }, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "product_id", "table": "mayo_order_porducts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": true, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_products", "foreign_key_column": "id" } }, { "collection": "mayo_order_porducts", "field": "order_id", "type": "integer", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": null, "display_options": null, "field": "order_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{order_number}}/{{order_year}}" }, "readonly": false, "required": true, "searchable": true, "sort": 7, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "order_id", "table": "mayo_order_porducts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_orders", "foreign_key_column": "id" } }, { "collection": "mayo_order_porducts", "field": "order_index", "type": "integer", "meta": { "collection": "mayo_order_porducts", "conditions": null, "display": null, "display_options": null, "field": "order_index", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "max": 100, "min": 1 }, "readonly": false, "required": true, "searchable": true, "sort": 8, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "order_index", "table": "mayo_order_porducts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "id", "type": "integer", "meta": { "collection": "mayo_orders", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_orders", "data_type": "integer", "default_value": "nextval('mayo_orders_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_orders", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_orders", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_orders", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_orders", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_orders", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_orders", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_orders", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_orders", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_orders", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_orders", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "order_number", "type": "string", "meta": { "collection": "mayo_orders", "conditions": null, "display": null, "display_options": null, "field": "order_number", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": null }, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": null, "translations": null, "validation": { "_and": [ { "order_number": { "_regex": "[0-9]{4}" } } ] }, "validation_message": "Numer zamownia musi zawierac cztery cyfry", "width": "full" }, "schema": { "name": "order_number", "table": "mayo_orders", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "order_year", "type": "integer", "meta": { "collection": "mayo_orders", "conditions": null, "display": null, "display_options": null, "field": "order_year", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "max": 2050, "min": 2020, "placeholder": "2025" }, "readonly": false, "required": true, "searchable": true, "sort": 7, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "order_year", "table": "mayo_orders", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_orders", "field": "client_id", "type": "integer", "meta": { "collection": "mayo_orders", "conditions": null, "display": null, "display_options": null, "field": "client_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}/{{country}}" }, "readonly": false, "required": true, "searchable": true, "sort": 8, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "client_id", "table": "mayo_orders", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_clients", "foreign_key_column": "id" } }, { "collection": "mayo_orders", "field": "mayo_order_porducts", "type": "alias", "meta": { "collection": "mayo_orders", "conditions": null, "display": null, "display_options": null, "field": "mayo_order_porducts", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 9, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } }, { "collection": "mayo_part_events", "field": "id", "type": "integer", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_part_events", "data_type": "integer", "default_value": "nextval('mayo_part_events_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_part_events", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_part_events", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_part_events", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_part_events", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_part_events", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_part_events", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_part_events", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_part_events", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_part_events", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_part_events", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_part_events", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_part_events", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_part_events", "field": "part_id", "type": "integer", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "part_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{part_type}}" }, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "part_id", "table": "mayo_part_events", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_parts", "foreign_key_column": "id" } }, { "collection": "mayo_part_events", "field": "ordinal", "type": "integer", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "ordinal", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "max": 32678, "min": 0 }, "readonly": false, "required": true, "searchable": true, "sort": 8, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "ordinal", "table": "mayo_part_events", "data_type": "integer", "default_value": 32, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_part_events", "field": "date", "type": "date", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "date", "group": null, "hidden": false, "interface": "datetime", "note": null, "options": null, "readonly": false, "required": true, "searchable": true, "sort": 9, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "date", "table": "mayo_part_events", "data_type": "date", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_part_events", "field": "operation_id", "type": "integer", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "operation_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}" }, "readonly": false, "required": false, "searchable": true, "sort": 7, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "operation_id", "table": "mayo_part_events", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_operations", "foreign_key_column": "id" } }, { "collection": "mayo_part_events", "field": "note", "type": "text", "meta": { "collection": "mayo_part_events", "conditions": null, "display": null, "display_options": null, "field": "note", "group": null, "hidden": false, "interface": "input-multiline", "note": null, "options": {}, "readonly": false, "required": false, "searchable": true, "sort": 10, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "note", "table": "mayo_part_events", "data_type": "text", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_parts", "field": "id", "type": "integer", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_parts", "data_type": "integer", "default_value": "nextval('mayo_parts_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_parts", "field": "part_type", "type": "string", "meta": { "collection": "mayo_parts", "conditions": null, "display": "labels", "display_options": null, "field": "part_type", "group": null, "hidden": false, "interface": "select-dropdown", "note": null, "options": { "choices": [ { "text": "BODY", "value": "BODY" }, { "text": "NECK", "value": "NECK" } ] }, "readonly": false, "required": true, "searchable": true, "sort": 3, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "part_type", "table": "mayo_parts", "data_type": "character varying", "default_value": "BODY", "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_parts", "field": "top_color_id", "type": "integer", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "top_color_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}" }, "readonly": false, "required": true, "searchable": true, "sort": 4, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "top_color_id", "table": "mayo_parts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_color", "foreign_key_column": "id" } }, { "collection": "mayo_parts", "field": "back_color_id", "type": "integer", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "back_color_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}" }, "readonly": false, "required": true, "searchable": true, "sort": 5, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "back_color_id", "table": "mayo_parts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_color", "foreign_key_column": "id" } }, { "collection": "mayo_parts", "field": "top_finish", "type": "string", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "top_finish", "group": null, "hidden": false, "interface": "select-dropdown", "note": null, "options": { "choices": [ { "text": "GLOSS", "value": "GLOSS" }, { "text": "SATIN", "value": "SATIN" }, { "text": "MAT", "value": "MAT" }, { "text": "NITRO", "value": "NITRO" } ] }, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "top_finish", "table": "mayo_parts", "data_type": "character varying", "default_value": "GLOSS", "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_parts", "field": "back_finish", "type": "string", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "back_finish", "group": null, "hidden": false, "interface": "select-dropdown", "note": null, "options": { "choices": [ { "text": "GLOSS", "value": "GLOSS" }, { "text": "SATIN", "value": "SATIN" }, { "text": "MAT", "value": "MAT" }, { "text": "NITRO", "value": "NITRO" } ] }, "readonly": false, "required": true, "searchable": true, "sort": 7, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "back_finish", "table": "mayo_parts", "data_type": "character varying", "default_value": "GLOSS", "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_parts", "field": "product_id", "type": "integer", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "product_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": null, "readonly": false, "required": true, "searchable": true, "sort": 2, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "product_id", "table": "mayo_parts", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_products", "foreign_key_column": "id" } }, { "collection": "mayo_parts", "field": "mayo_part_events_id", "type": "alias", "meta": { "collection": "mayo_parts", "conditions": null, "display": null, "display_options": null, "field": "mayo_part_events_id", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 8, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } }, { "collection": "mayo_products", "field": "id", "type": "integer", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "id", "group": null, "hidden": true, "interface": "input", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 1, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "id", "table": "mayo_products", "data_type": "integer", "default_value": "nextval('mayo_products_id_seq'::regclass)", "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": false, "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, "generation_expression": null, "has_auto_increment": true, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_products", "field": "user_created", "type": "uuid", "meta": { "collection": "mayo_products", "conditions": null, "display": "user", "display_options": null, "field": "user_created", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 2, "special": [ "user-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_created", "table": "mayo_products", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_products", "field": "date_created", "type": "timestamp", "meta": { "collection": "mayo_products", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_created", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 3, "special": [ "date-created" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_created", "table": "mayo_products", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_products", "field": "user_updated", "type": "uuid", "meta": { "collection": "mayo_products", "conditions": null, "display": "user", "display_options": null, "field": "user_updated", "group": null, "hidden": true, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{avatar}} {{first_name}} {{last_name}}" }, "readonly": true, "required": false, "searchable": true, "sort": 4, "special": [ "user-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "user_updated", "table": "mayo_products", "data_type": "uuid", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "directus_users", "foreign_key_column": "id" } }, { "collection": "mayo_products", "field": "date_updated", "type": "timestamp", "meta": { "collection": "mayo_products", "conditions": null, "display": "datetime", "display_options": { "relative": true }, "field": "date_updated", "group": null, "hidden": true, "interface": "datetime", "note": null, "options": null, "readonly": true, "required": false, "searchable": true, "sort": 5, "special": [ "date-updated" ], "translations": null, "validation": null, "validation_message": null, "width": "half" }, "schema": { "name": "date_updated", "table": "mayo_products", "data_type": "timestamp with time zone", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_products", "field": "source_url", "type": "string", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "source_url", "group": null, "hidden": false, "interface": "input", "note": null, "options": { "placeholder": "Adres url specyfikacji gitary" }, "readonly": false, "required": false, "searchable": true, "sort": 10, "special": null, "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "source_url", "table": "mayo_products", "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_products", "field": "specification", "type": "json", "meta": { "collection": "mayo_products", "conditions": null, "display": "formatted-json-value", "display_options": null, "field": "specification", "group": null, "hidden": false, "interface": "input-code", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 11, "special": [ "cast-json" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "specification", "table": "mayo_products", "data_type": "json", "default_value": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": null, "foreign_key_column": null } }, { "collection": "mayo_products", "field": "mayo_order_porducts", "type": "alias", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "mayo_order_porducts", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": { "template": "{{order_id.order_number}}/{{order_id.order_year}}/{{order_index}}" }, "readonly": false, "required": false, "searchable": true, "sort": 7, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } }, { "collection": "mayo_products", "field": "mayo_parts", "type": "alias", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "mayo_parts", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": { "template": "{{part_type}}({{top_color_id.name}}-{{top_finish}}) ({{back_color_id.name}}-{{back_finish}})" }, "readonly": false, "required": false, "searchable": true, "sort": 8, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } }, { "collection": "mayo_products", "field": "model_id", "type": "integer", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "model_id", "group": null, "hidden": false, "interface": "select-dropdown-m2o", "note": null, "options": { "template": "{{name}}" }, "readonly": false, "required": true, "searchable": true, "sort": 6, "special": [ "m2o" ], "translations": null, "validation": null, "validation_message": null, "width": "full" }, "schema": { "name": "model_id", "table": "mayo_products", "data_type": "integer", "default_value": null, "max_length": null, "numeric_precision": 32, "numeric_scale": 0, "is_nullable": true, "is_unique": false, "is_indexed": true, "is_primary_key": false, "is_generated": false, "generation_expression": null, "has_auto_increment": false, "foreign_key_table": "mayo_models", "foreign_key_column": "id" } }, { "collection": "mayo_products", "field": "mayo_lisst_products_id", "type": "alias", "meta": { "collection": "mayo_products", "conditions": null, "display": null, "display_options": null, "field": "mayo_lisst_products_id", "group": null, "hidden": false, "interface": "list-o2m", "note": null, "options": null, "readonly": false, "required": false, "searchable": true, "sort": 9, "special": [ "o2m" ], "translations": null, "validation": null, "validation_message": null, "width": "full" } } ], "systemFields": [ { "collection": "directus_activity", "field": "timestamp", "schema": { "is_indexed": true } }, { "collection": "directus_revisions", "field": "activity", "schema": { "is_indexed": true } }, { "collection": "directus_revisions", "field": "parent", "schema": { "is_indexed": true } } ], "relations": [ { "collection": "mayo_lisst_products", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_lisst_products", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_lisst_products", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_lisst_products_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_lisst_products", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_lisst_products", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_lisst_products", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_lisst_products_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_lisst_products", "field": "product_id", "related_collection": "mayo_products", "meta": { "junction_field": null, "many_collection": "mayo_lisst_products", "many_field": "product_id", "one_allowed_collections": null, "one_collection": "mayo_products", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_lisst_products_id", "sort_field": null }, "schema": { "table": "mayo_lisst_products", "column": "product_id", "foreign_key_table": "mayo_products", "foreign_key_column": "id", "constraint_name": "mayo_lisst_products_product_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_lisst_products", "field": "list_id", "related_collection": "mayo_lists", "meta": { "junction_field": null, "many_collection": "mayo_lisst_products", "many_field": "list_id", "one_allowed_collections": null, "one_collection": "mayo_lists", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_lisst_products_id", "sort_field": null }, "schema": { "table": "mayo_lisst_products", "column": "list_id", "foreign_key_table": "mayo_lists", "foreign_key_column": "id", "constraint_name": "mayo_lisst_products_list_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_lists", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_lists", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_lists", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_lists_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_lists", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_lists", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_lists", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_lists_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_order_porducts", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_order_porducts", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_order_porducts", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_order_porducts_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_order_porducts", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_order_porducts", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_order_porducts", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_order_porducts_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_order_porducts", "field": "product_id", "related_collection": "mayo_products", "meta": { "junction_field": null, "many_collection": "mayo_order_porducts", "many_field": "product_id", "one_allowed_collections": null, "one_collection": "mayo_products", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_order_porducts", "sort_field": null }, "schema": { "table": "mayo_order_porducts", "column": "product_id", "foreign_key_table": "mayo_products", "foreign_key_column": "id", "constraint_name": "mayo_order_porducts_product_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_order_porducts", "field": "order_id", "related_collection": "mayo_orders", "meta": { "junction_field": null, "many_collection": "mayo_order_porducts", "many_field": "order_id", "one_allowed_collections": null, "one_collection": "mayo_orders", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_order_porducts", "sort_field": null }, "schema": { "table": "mayo_order_porducts", "column": "order_id", "foreign_key_table": "mayo_orders", "foreign_key_column": "id", "constraint_name": "mayo_order_porducts_order_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_orders", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_orders", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_orders", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_orders_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_orders", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_orders", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_orders", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_orders_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_orders", "field": "client_id", "related_collection": "mayo_clients", "meta": { "junction_field": null, "many_collection": "mayo_orders", "many_field": "client_id", "one_allowed_collections": null, "one_collection": "mayo_clients", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_orders", "column": "client_id", "foreign_key_table": "mayo_clients", "foreign_key_column": "id", "constraint_name": "mayo_orders_client_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_part_events", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_part_events", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_part_events", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_part_events_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_part_events", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_part_events", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_part_events", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_part_events_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_part_events", "field": "part_id", "related_collection": "mayo_parts", "meta": { "junction_field": null, "many_collection": "mayo_part_events", "many_field": "part_id", "one_allowed_collections": null, "one_collection": "mayo_parts", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_part_events_id", "sort_field": null }, "schema": { "table": "mayo_part_events", "column": "part_id", "foreign_key_table": "mayo_parts", "foreign_key_column": "id", "constraint_name": "mayo_part_events_part_id_foreign", "on_update": "NO ACTION", "on_delete": "CASCADE" } }, { "collection": "mayo_part_events", "field": "operation_id", "related_collection": "mayo_operations", "meta": { "junction_field": null, "many_collection": "mayo_part_events", "many_field": "operation_id", "one_allowed_collections": null, "one_collection": "mayo_operations", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_part_events", "column": "operation_id", "foreign_key_table": "mayo_operations", "foreign_key_column": "id", "constraint_name": "mayo_part_events_operation_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_parts", "field": "top_color_id", "related_collection": "mayo_color", "meta": { "junction_field": null, "many_collection": "mayo_parts", "many_field": "top_color_id", "one_allowed_collections": null, "one_collection": "mayo_color", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_parts", "column": "top_color_id", "foreign_key_table": "mayo_color", "foreign_key_column": "id", "constraint_name": "mayo_parts_top_color_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_parts", "field": "back_color_id", "related_collection": "mayo_color", "meta": { "junction_field": null, "many_collection": "mayo_parts", "many_field": "back_color_id", "one_allowed_collections": null, "one_collection": "mayo_color", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_parts", "column": "back_color_id", "foreign_key_table": "mayo_color", "foreign_key_column": "id", "constraint_name": "mayo_parts_back_color_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_parts", "field": "product_id", "related_collection": "mayo_products", "meta": { "junction_field": null, "many_collection": "mayo_parts", "many_field": "product_id", "one_allowed_collections": null, "one_collection": "mayo_products", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": "mayo_parts", "sort_field": null }, "schema": { "table": "mayo_parts", "column": "product_id", "foreign_key_table": "mayo_products", "foreign_key_column": "id", "constraint_name": "mayo_parts_product_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } }, { "collection": "mayo_products", "field": "user_created", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_products", "many_field": "user_created", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_products", "column": "user_created", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_products_user_created_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_products", "field": "user_updated", "related_collection": "directus_users", "meta": { "junction_field": null, "many_collection": "mayo_products", "many_field": "user_updated", "one_allowed_collections": null, "one_collection": "directus_users", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_products", "column": "user_updated", "foreign_key_table": "directus_users", "foreign_key_column": "id", "constraint_name": "mayo_products_user_updated_foreign", "on_update": "NO ACTION", "on_delete": "NO ACTION" } }, { "collection": "mayo_products", "field": "model_id", "related_collection": "mayo_models", "meta": { "junction_field": null, "many_collection": "mayo_products", "many_field": "model_id", "one_allowed_collections": null, "one_collection": "mayo_models", "one_collection_field": null, "one_deselect_action": "nullify", "one_field": null, "sort_field": null }, "schema": { "table": "mayo_products", "column": "model_id", "foreign_key_table": "mayo_models", "foreign_key_column": "id", "constraint_name": "mayo_products_model_id_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } } ] } }