diff --git a/directus/schema/feedback_schema.yaml b/directus/schema/feedback_schema.yaml deleted file mode 100644 index b9fac326..00000000 --- a/directus/schema/feedback_schema.yaml +++ /dev/null @@ -1,590 +0,0 @@ -version: 1 -directus: 11.14.1 -vendor: postgres -collections: - - collection: contact_submissions - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: contact_submissions - color: '#002b49' - display_template: '{{first_name}} {{last_name}} | {{subject}}' - group: null - hidden: false - icon: contact_mail - 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: contact_submissions - - collection: product_requests - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: product_requests - color: '#002b49' - display_template: null - group: null - hidden: false - icon: inventory - 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: product_requests - - collection: visual_feedback - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: visual_feedback - color: '#002b49' - display_template: '{{user_name}} | {{type}}: {{text}}' - group: null - hidden: false - icon: feedback - 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: visual_feedback - - collection: visual_feedback_comments - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: visual_feedback_comments - color: '#002b49' - display_template: '{{user_name}}: {{text}}' - group: null - hidden: false - icon: comment - 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: visual_feedback_comments -fields: - - collection: visual_feedback - field: id - type: uuid - meta: - collection: visual_feedback - conditions: null - display: null - display_options: null - field: id - group: null - hidden: true - interface: null - note: null - options: null - readonly: false - required: false - searchable: true - sort: 1 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: id - table: visual_feedback - data_type: uuid - default_value: null - max_length: null - numeric_precision: null - numeric_scale: null - is_nullable: false - is_unique: true - is_indexed: false - is_primary_key: true - is_generated: false - generation_expression: null - has_auto_increment: false - foreign_key_table: null - foreign_key_column: null - - collection: visual_feedback - field: status - type: string - meta: - collection: visual_feedback - conditions: null - display: labels - display_options: - choices: - - background: '#e1f5fe' - color: '#01579b' - text: Open - value: open - - background: '#e8f5e9' - color: '#1b5e20' - text: Resolved - value: resolved - - background: '#fafafa' - color: '#212121' - text: Closed - value: closed - show_as_dot: true - field: status - group: null - hidden: false - interface: select-dropdown - note: null - options: - choices: - - text: Open - value: open - - text: Resolved - value: resolved - - text: Closed - value: closed - readonly: false - required: false - searchable: true - sort: 2 - special: null - translations: null - validation: null - validation_message: null - width: half - schema: - name: status - table: visual_feedback - data_type: character varying - default_value: open - 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: visual_feedback - field: type - type: string - meta: - collection: visual_feedback - conditions: null - display: labels - display_options: - choices: - - background: '#fff9c4' - color: '#fbc02d' - text: Design - value: design - - background: '#f3e5f5' - color: '#7b1fa2' - text: Content - value: content - show_as_dot: true - field: type - group: null - hidden: false - interface: select-dropdown - note: null - options: - choices: - - text: Design - value: design - - text: Content - value: content - readonly: false - required: false - searchable: true - sort: 3 - special: null - translations: null - validation: null - validation_message: null - width: half - schema: - name: type - table: visual_feedback - 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: visual_feedback - field: text - type: text - meta: - collection: visual_feedback - conditions: null - display: formatted-text - display_options: - soft_limit: 100 - field: text - group: null - hidden: false - interface: input-multiline - note: null - options: null - readonly: false - required: false - searchable: true - sort: 4 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: text - table: visual_feedback - 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: visual_feedback - field: url - type: string - meta: - collection: visual_feedback - conditions: null - display: link - display_options: - url: '{{url}}' - target: _blank - icon: open_in_new - field: url - group: null - hidden: false - interface: input - note: null - options: null - readonly: true - required: false - searchable: true - sort: 5 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: url - table: visual_feedback - 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: visual_feedback - field: user_info_group - type: alias - meta: - collection: visual_feedback - field: user_info_group - group: null - hidden: false - interface: group-detail - options: - header_icon: person - header_text: User Information - sort: 6 - special: - - alias - - no-data - - group - width: full - - collection: visual_feedback - field: user_name - type: string - meta: - collection: visual_feedback - field: user_name - group: user_info_group - hidden: false - interface: input - sort: 1 - width: half - schema: - name: user_name - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: user_identity - type: string - meta: - collection: visual_feedback - field: user_identity - group: user_info_group - hidden: false - interface: input - readonly: true - sort: 2 - width: half - schema: - name: user_identity - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: technical_details_group - type: alias - meta: - collection: visual_feedback - field: technical_details_group - group: null - hidden: false - interface: group-detail - options: - header_icon: psychology - header_text: Technical Context - sort: 7 - special: - - alias - - no-data - - group - width: full - - collection: visual_feedback - field: selector - type: string - meta: - collection: visual_feedback - field: selector - group: technical_details_group - hidden: false - interface: input - readonly: true - sort: 1 - width: full - schema: - name: selector - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: x - type: float - meta: - collection: visual_feedback - field: x - group: technical_details_group - hidden: false - interface: input - sort: 2 - width: half - schema: - name: x - table: visual_feedback - data_type: real - is_nullable: true - - collection: visual_feedback - field: 'y' - type: float - meta: - collection: visual_feedback - field: 'y' - group: technical_details_group - hidden: false - interface: input - sort: 3 - width: half - schema: - name: 'y' - table: visual_feedback - data_type: real - is_nullable: true - - collection: visual_feedback - field: date_created - type: timestamp - meta: - collection: visual_feedback - conditions: null - display: datetime - display_options: - relative: true - field: date_created - group: null - hidden: false - interface: datetime - note: null - options: null - readonly: true - required: false - searchable: true - sort: 8 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: date_created - table: visual_feedback - data_type: timestamp with time zone - default_value: CURRENT_TIMESTAMP - is_nullable: true - - collection: visual_feedback_comments - field: id - type: uuid - meta: - collection: visual_feedback_comments - field: id - hidden: true - schema: - name: id - table: visual_feedback_comments - data_type: uuid - is_primary_key: true - - collection: visual_feedback_comments - field: feedback_id - type: uuid - meta: - collection: visual_feedback_comments - display: null - field: feedback_id - interface: select-relational - sort: 2 - width: full - schema: - name: feedback_id - table: visual_feedback_comments - data_type: uuid - - collection: visual_feedback_comments - field: user_name - type: string - meta: - collection: visual_feedback_comments - field: user_name - interface: input - sort: 3 - width: half - schema: - name: user_name - table: visual_feedback_comments - data_type: character varying - - collection: visual_feedback_comments - field: text - type: text - meta: - collection: visual_feedback_comments - field: text - interface: input-multiline - sort: 4 - width: full - schema: - name: text - table: visual_feedback_comments - data_type: text - - collection: visual_feedback_comments - field: date_created - type: timestamp - meta: - collection: visual_feedback_comments - display: datetime - display_options: - relative: true - field: date_created - interface: datetime - readonly: true - sort: 5 - width: full - schema: - name: date_created - table: visual_feedback_comments - data_type: timestamp with time zone - default_value: CURRENT_TIMESTAMP -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: visual_feedback_comments - field: feedback_id - related_collection: visual_feedback - schema: - column: feedback_id - foreign_key_column: id - foreign_key_table: visual_feedback - table: visual_feedback_comments - meta: - junction_field: null - many_collection: visual_feedback_comments - many_field: feedback_id - one_allowed_m2m: false - one_collection: visual_feedback - one_deselect_action: nullify - one_field: null - sort_field: null diff --git a/directus/schema/snapshot.yaml b/directus/schema/snapshot.yaml index b9fac326..a53e669a 100644 --- a/directus/schema/snapshot.yaml +++ b/directus/schema/snapshot.yaml @@ -50,513 +50,7 @@ collections: versioning: false schema: name: product_requests - - collection: visual_feedback - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: visual_feedback - color: '#002b49' - display_template: '{{user_name}} | {{type}}: {{text}}' - group: null - hidden: false - icon: feedback - 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: visual_feedback - - collection: visual_feedback_comments - meta: - accountability: all - archive_app_filter: true - archive_field: null - archive_value: null - collapse: open - collection: visual_feedback_comments - color: '#002b49' - display_template: '{{user_name}}: {{text}}' - group: null - hidden: false - icon: comment - 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: visual_feedback_comments -fields: - - collection: visual_feedback - field: id - type: uuid - meta: - collection: visual_feedback - conditions: null - display: null - display_options: null - field: id - group: null - hidden: true - interface: null - note: null - options: null - readonly: false - required: false - searchable: true - sort: 1 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: id - table: visual_feedback - data_type: uuid - default_value: null - max_length: null - numeric_precision: null - numeric_scale: null - is_nullable: false - is_unique: true - is_indexed: false - is_primary_key: true - is_generated: false - generation_expression: null - has_auto_increment: false - foreign_key_table: null - foreign_key_column: null - - collection: visual_feedback - field: status - type: string - meta: - collection: visual_feedback - conditions: null - display: labels - display_options: - choices: - - background: '#e1f5fe' - color: '#01579b' - text: Open - value: open - - background: '#e8f5e9' - color: '#1b5e20' - text: Resolved - value: resolved - - background: '#fafafa' - color: '#212121' - text: Closed - value: closed - show_as_dot: true - field: status - group: null - hidden: false - interface: select-dropdown - note: null - options: - choices: - - text: Open - value: open - - text: Resolved - value: resolved - - text: Closed - value: closed - readonly: false - required: false - searchable: true - sort: 2 - special: null - translations: null - validation: null - validation_message: null - width: half - schema: - name: status - table: visual_feedback - data_type: character varying - default_value: open - 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: visual_feedback - field: type - type: string - meta: - collection: visual_feedback - conditions: null - display: labels - display_options: - choices: - - background: '#fff9c4' - color: '#fbc02d' - text: Design - value: design - - background: '#f3e5f5' - color: '#7b1fa2' - text: Content - value: content - show_as_dot: true - field: type - group: null - hidden: false - interface: select-dropdown - note: null - options: - choices: - - text: Design - value: design - - text: Content - value: content - readonly: false - required: false - searchable: true - sort: 3 - special: null - translations: null - validation: null - validation_message: null - width: half - schema: - name: type - table: visual_feedback - 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: visual_feedback - field: text - type: text - meta: - collection: visual_feedback - conditions: null - display: formatted-text - display_options: - soft_limit: 100 - field: text - group: null - hidden: false - interface: input-multiline - note: null - options: null - readonly: false - required: false - searchable: true - sort: 4 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: text - table: visual_feedback - 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: visual_feedback - field: url - type: string - meta: - collection: visual_feedback - conditions: null - display: link - display_options: - url: '{{url}}' - target: _blank - icon: open_in_new - field: url - group: null - hidden: false - interface: input - note: null - options: null - readonly: true - required: false - searchable: true - sort: 5 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: url - table: visual_feedback - 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: visual_feedback - field: user_info_group - type: alias - meta: - collection: visual_feedback - field: user_info_group - group: null - hidden: false - interface: group-detail - options: - header_icon: person - header_text: User Information - sort: 6 - special: - - alias - - no-data - - group - width: full - - collection: visual_feedback - field: user_name - type: string - meta: - collection: visual_feedback - field: user_name - group: user_info_group - hidden: false - interface: input - sort: 1 - width: half - schema: - name: user_name - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: user_identity - type: string - meta: - collection: visual_feedback - field: user_identity - group: user_info_group - hidden: false - interface: input - readonly: true - sort: 2 - width: half - schema: - name: user_identity - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: technical_details_group - type: alias - meta: - collection: visual_feedback - field: technical_details_group - group: null - hidden: false - interface: group-detail - options: - header_icon: psychology - header_text: Technical Context - sort: 7 - special: - - alias - - no-data - - group - width: full - - collection: visual_feedback - field: selector - type: string - meta: - collection: visual_feedback - field: selector - group: technical_details_group - hidden: false - interface: input - readonly: true - sort: 1 - width: full - schema: - name: selector - table: visual_feedback - data_type: character varying - is_nullable: true - - collection: visual_feedback - field: x - type: float - meta: - collection: visual_feedback - field: x - group: technical_details_group - hidden: false - interface: input - sort: 2 - width: half - schema: - name: x - table: visual_feedback - data_type: real - is_nullable: true - - collection: visual_feedback - field: 'y' - type: float - meta: - collection: visual_feedback - field: 'y' - group: technical_details_group - hidden: false - interface: input - sort: 3 - width: half - schema: - name: 'y' - table: visual_feedback - data_type: real - is_nullable: true - - collection: visual_feedback - field: date_created - type: timestamp - meta: - collection: visual_feedback - conditions: null - display: datetime - display_options: - relative: true - field: date_created - group: null - hidden: false - interface: datetime - note: null - options: null - readonly: true - required: false - searchable: true - sort: 8 - special: null - translations: null - validation: null - validation_message: null - width: full - schema: - name: date_created - table: visual_feedback - data_type: timestamp with time zone - default_value: CURRENT_TIMESTAMP - is_nullable: true - - collection: visual_feedback_comments - field: id - type: uuid - meta: - collection: visual_feedback_comments - field: id - hidden: true - schema: - name: id - table: visual_feedback_comments - data_type: uuid - is_primary_key: true - - collection: visual_feedback_comments - field: feedback_id - type: uuid - meta: - collection: visual_feedback_comments - display: null - field: feedback_id - interface: select-relational - sort: 2 - width: full - schema: - name: feedback_id - table: visual_feedback_comments - data_type: uuid - - collection: visual_feedback_comments - field: user_name - type: string - meta: - collection: visual_feedback_comments - field: user_name - interface: input - sort: 3 - width: half - schema: - name: user_name - table: visual_feedback_comments - data_type: character varying - - collection: visual_feedback_comments - field: text - type: text - meta: - collection: visual_feedback_comments - field: text - interface: input-multiline - sort: 4 - width: full - schema: - name: text - table: visual_feedback_comments - data_type: text - - collection: visual_feedback_comments - field: date_created - type: timestamp - meta: - collection: visual_feedback_comments - display: datetime - display_options: - relative: true - field: date_created - interface: datetime - readonly: true - sort: 5 - width: full - schema: - name: date_created - table: visual_feedback_comments - data_type: timestamp with time zone - default_value: CURRENT_TIMESTAMP +fields: [] systemFields: - collection: directus_activity field: timestamp @@ -570,21 +64,4 @@ systemFields: field: parent schema: is_indexed: true -relations: - - collection: visual_feedback_comments - field: feedback_id - related_collection: visual_feedback - schema: - column: feedback_id - foreign_key_column: id - foreign_key_table: visual_feedback - table: visual_feedback_comments - meta: - junction_field: null - many_collection: visual_feedback_comments - many_field: feedback_id - one_allowed_m2m: false - one_collection: visual_feedback - one_deselect_action: nullify - one_field: null - sort_field: null +relations: []