diff --git a/directus/schema.json b/directus/schema.json index 77935dc..f0b4152 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -234,32 +234,6 @@ }, "schema": {} }, - { - "collection": "Blogs_Tags", - "meta": { - "collection": "Blogs_Tags", - "icon": "import_export", - "note": null, - "display_template": null, - "hidden": true, - "singleton": false, - "translations": null, - "archive_field": null, - "archive_app_filter": true, - "archive_value": null, - "unarchive_value": null, - "sort_field": null, - "accountability": "all", - "color": null, - "item_duplication_fields": null, - "sort": 2, - "group": "Relations", - "collapse": "open", - "preview_url": null, - "versioning": false - }, - "schema": {} - }, { "collection": "Humans", "meta": { @@ -364,6 +338,32 @@ }, "schema": {} }, + { + "collection": "Projects_Tags", + "meta": { + "collection": "Projects_Tags", + "icon": "import_export", + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "Relations", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} + }, { "collection": "Subtypes", "meta": { @@ -390,6 +390,32 @@ }, "schema": null }, + { + "collection": "Blogs_Tags", + "meta": { + "collection": "Blogs_Tags", + "icon": "import_export", + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 3, + "group": "Relations", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} + }, { "collection": "Single_Pages", "meta": { @@ -545,32 +571,6 @@ "versioning": false }, "schema": null - }, - { - "collection": "Projects_Tags", - "meta": { - "collection": "Projects_Tags", - "icon": "import_export", - "note": null, - "display_template": null, - "hidden": true, - "singleton": false, - "translations": null, - "archive_field": null, - "archive_app_filter": true, - "archive_value": null, - "unarchive_value": null, - "sort_field": null, - "accountability": "all", - "color": null, - "item_duplication_fields": null, - "sort": null, - "group": null, - "collapse": "open", - "preview_url": null, - "versioning": false - }, - "schema": {} } ], "fields": [ @@ -4123,190 +4123,6 @@ "searchable": true } }, - { - "collection": "Blogs_Tags", - "field": "id", - "type": "integer", - "schema": { - "name": "id", - "table": "Blogs_Tags", - "data_type": "integer", - "default_value": "nextval('\"Blogs_Tags_id_seq\"'::regclass)", - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "is_generated": false, - "is_nullable": false, - "is_unique": true, - "is_indexed": false, - "is_primary_key": true, - "has_auto_increment": true, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, - "meta": { - "collection": "Blogs_Tags", - "field": "id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 1, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Blogs_Tags", - "field": "Blogs_id", - "type": "uuid", - "schema": { - "name": "Blogs_id", - "table": "Blogs_Tags", - "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": "Blogs", - "foreign_key_column": "id", - "comment": null - }, - "meta": { - "collection": "Blogs_Tags", - "field": "Blogs_id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 2, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Blogs_Tags", - "field": "Tags_id", - "type": "uuid", - "schema": { - "name": "Tags_id", - "table": "Blogs_Tags", - "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": "Tags", - "foreign_key_column": "id", - "comment": null - }, - "meta": { - "collection": "Blogs_Tags", - "field": "Tags_id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 3, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Blogs_Tags", - "field": "sort", - "type": "integer", - "schema": { - "name": "sort", - "table": "Blogs_Tags", - "data_type": "integer", - "default_value": null, - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "is_generated": false, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, - "meta": { - "collection": "Blogs_Tags", - "field": "sort", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 4, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, { "collection": "Humans", "field": "id", @@ -6047,6 +5863,374 @@ "comment": null } }, + { + "collection": "Projects_Tags", + "field": "id", + "type": "integer", + "schema": { + "name": "id", + "table": "Projects_Tags", + "data_type": "integer", + "default_value": "nextval('\"Projects_Tags_id_seq\"'::regclass)", + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": true, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "Projects_Tags", + "field": "id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Projects_Tags", + "field": "Projects_id", + "type": "uuid", + "schema": { + "name": "Projects_id", + "table": "Projects_Tags", + "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": "Projects", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "Projects_Tags", + "field": "Projects_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Projects_Tags", + "field": "Tags_id", + "type": "uuid", + "schema": { + "name": "Tags_id", + "table": "Projects_Tags", + "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": "Tags", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "Projects_Tags", + "field": "Tags_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Projects_Tags", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "Projects_Tags", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "Projects_Tags", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blogs_Tags", + "field": "id", + "type": "integer", + "schema": { + "name": "id", + "table": "Blogs_Tags", + "data_type": "integer", + "default_value": "nextval('\"Blogs_Tags_id_seq\"'::regclass)", + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": true, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "Blogs_Tags", + "field": "id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blogs_Tags", + "field": "Blogs_id", + "type": "uuid", + "schema": { + "name": "Blogs_id", + "table": "Blogs_Tags", + "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": "Blogs", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "Blogs_Tags", + "field": "Blogs_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blogs_Tags", + "field": "Tags_id", + "type": "uuid", + "schema": { + "name": "Tags_id", + "table": "Blogs_Tags", + "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": "Tags", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "Blogs_Tags", + "field": "Tags_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blogs_Tags", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "Blogs_Tags", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "Blogs_Tags", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, { "collection": "Website_Settings", "field": "id", @@ -7439,190 +7623,6 @@ "validation_message": null, "searchable": true } - }, - { - "collection": "Projects_Tags", - "field": "id", - "type": "integer", - "schema": { - "name": "id", - "table": "Projects_Tags", - "data_type": "integer", - "default_value": "nextval('\"Projects_Tags_id_seq\"'::regclass)", - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "is_generated": false, - "is_nullable": false, - "is_unique": true, - "is_indexed": false, - "is_primary_key": true, - "has_auto_increment": true, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, - "meta": { - "collection": "Projects_Tags", - "field": "id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 1, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Projects_Tags", - "field": "Projects_id", - "type": "uuid", - "schema": { - "name": "Projects_id", - "table": "Projects_Tags", - "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": "Projects", - "foreign_key_column": "id", - "comment": null - }, - "meta": { - "collection": "Projects_Tags", - "field": "Projects_id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 2, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Projects_Tags", - "field": "Tags_id", - "type": "uuid", - "schema": { - "name": "Tags_id", - "table": "Projects_Tags", - "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": "Tags", - "foreign_key_column": "id", - "comment": null - }, - "meta": { - "collection": "Projects_Tags", - "field": "Tags_id", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 3, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } - }, - { - "collection": "Projects_Tags", - "field": "sort", - "type": "integer", - "schema": { - "name": "sort", - "table": "Projects_Tags", - "data_type": "integer", - "default_value": null, - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "is_generated": false, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, - "comment": null - }, - "meta": { - "collection": "Projects_Tags", - "field": "sort", - "special": null, - "interface": null, - "options": null, - "display": null, - "display_options": null, - "readonly": false, - "hidden": true, - "sort": 4, - "width": "full", - "translations": null, - "note": null, - "conditions": null, - "required": false, - "group": null, - "validation": null, - "validation_message": null, - "searchable": true - } } ], "relations": [ @@ -8114,58 +8114,6 @@ "one_deselect_action": "nullify" } }, - { - "collection": "Blogs_Tags", - "field": "Tags_id", - "related_collection": "Tags", - "schema": { - "constraint_name": "blogs_tags_tags_id_foreign", - "table": "Blogs_Tags", - "column": "Tags_id", - "foreign_key_schema": "public", - "foreign_key_table": "Tags", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - }, - "meta": { - "many_collection": "Blogs_Tags", - "many_field": "Tags_id", - "one_collection": "Tags", - "one_field": null, - "one_collection_field": null, - "one_allowed_collections": null, - "junction_field": "Blogs_id", - "sort_field": null, - "one_deselect_action": "nullify" - } - }, - { - "collection": "Blogs_Tags", - "field": "Blogs_id", - "related_collection": "Blogs", - "schema": { - "constraint_name": "blogs_tags_blogs_id_foreign", - "table": "Blogs_Tags", - "column": "Blogs_id", - "foreign_key_schema": "public", - "foreign_key_table": "Blogs", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - }, - "meta": { - "many_collection": "Blogs_Tags", - "many_field": "Blogs_id", - "one_collection": "Blogs", - "one_field": "tags", - "one_collection_field": null, - "one_allowed_collections": null, - "junction_field": "Tags_id", - "sort_field": "sort", - "one_deselect_action": "nullify" - } - }, { "collection": "Humans", "field": "user_created", @@ -8426,6 +8374,110 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Projects_Tags", + "field": "Tags_id", + "related_collection": "Tags", + "schema": { + "constraint_name": "projects_tags_tags_id_foreign", + "table": "Projects_Tags", + "column": "Tags_id", + "foreign_key_schema": "public", + "foreign_key_table": "Tags", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "Projects_Tags", + "many_field": "Tags_id", + "one_collection": "Tags", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "Projects_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "Projects_Tags", + "field": "Projects_id", + "related_collection": "Projects", + "schema": { + "constraint_name": "projects_tags_projects_id_foreign", + "table": "Projects_Tags", + "column": "Projects_id", + "foreign_key_schema": "public", + "foreign_key_table": "Projects", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "Projects_Tags", + "many_field": "Projects_id", + "one_collection": "Projects", + "one_field": "tags", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "Tags_id", + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "Blogs_Tags", + "field": "Tags_id", + "related_collection": "Tags", + "schema": { + "constraint_name": "blogs_tags_tags_id_foreign", + "table": "Blogs_Tags", + "column": "Tags_id", + "foreign_key_schema": "public", + "foreign_key_table": "Tags", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "Blogs_Tags", + "many_field": "Tags_id", + "one_collection": "Tags", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "Blogs_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "Blogs_Tags", + "field": "Blogs_id", + "related_collection": "Blogs", + "schema": { + "constraint_name": "blogs_tags_blogs_id_foreign", + "table": "Blogs_Tags", + "column": "Blogs_id", + "foreign_key_schema": "public", + "foreign_key_table": "Blogs", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "Blogs_Tags", + "many_field": "Blogs_id", + "one_collection": "Blogs", + "one_field": "tags", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "Tags_id", + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, { "collection": "Website_Settings", "field": "user_updated", @@ -8529,58 +8581,6 @@ "sort_field": null, "one_deselect_action": "nullify" } - }, - { - "collection": "Projects_Tags", - "field": "Tags_id", - "related_collection": "Tags", - "schema": { - "constraint_name": "projects_tags_tags_id_foreign", - "table": "Projects_Tags", - "column": "Tags_id", - "foreign_key_schema": "public", - "foreign_key_table": "Tags", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - }, - "meta": { - "many_collection": "Projects_Tags", - "many_field": "Tags_id", - "one_collection": "Tags", - "one_field": null, - "one_collection_field": null, - "one_allowed_collections": null, - "junction_field": "Projects_id", - "sort_field": null, - "one_deselect_action": "nullify" - } - }, - { - "collection": "Projects_Tags", - "field": "Projects_id", - "related_collection": "Projects", - "schema": { - "constraint_name": "projects_tags_projects_id_foreign", - "table": "Projects_Tags", - "column": "Projects_id", - "foreign_key_schema": "public", - "foreign_key_table": "Projects", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - }, - "meta": { - "many_collection": "Projects_Tags", - "many_field": "Projects_id", - "one_collection": "Projects", - "one_field": "tags", - "one_collection_field": null, - "one_allowed_collections": null, - "junction_field": "Tags_id", - "sort_field": "sort", - "one_deselect_action": "nullify" - } } ] } \ No newline at end of file