From 9e6e2eb8512203ef11e102546d158312ff00f9ed Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Thu, 18 May 2023 17:22:12 -0700 Subject: [PATCH] (REF) sql - Move `civicrm_data` support files to subdir I'd like to move more of the `civicrm_data` into separate files. But it's going to get rather messy if we add all those files directly to `./sql/`. --- .../civicrm_option_group.php} | 2 +- .../civicrm_option_group}/accept_creditcard.sqldata.php | 0 .../civicrm_option_group}/account_relationship.sqldata.php | 0 .../civicrm_option_group}/acl_role.sqldata.php | 0 .../civicrm_option_group}/activity_contacts.sqldata.php | 0 .../civicrm_option_group}/activity_default_assignee.sqldata.php | 0 .../civicrm_option_group}/activity_status.sqldata.php | 0 .../civicrm_option_group}/activity_type.sqldata.php | 0 .../civicrm_option_group}/address_options.sqldata.php | 0 .../civicrm_option_group}/addressee.sqldata.php | 0 .../civicrm_option_group}/advanced_search_options.sqldata.php | 0 .../civicrm_option_group}/auto_renew_options.sqldata.php | 0 .../civicrm_option_group}/batch_mode.sqldata.php | 0 .../civicrm_option_group}/batch_status.sqldata.php | 0 .../civicrm_option_group}/batch_type.sqldata.php | 0 .../civicrm_option_group}/campaign_status.sqldata.php | 0 .../civicrm_option_group}/campaign_type.sqldata.php | 0 .../civicrm_option_group}/case_status.sqldata.php | 0 .../civicrm_option_group}/case_type.sqldata.php | 0 .../civicrm_option_group}/cg_extend_objects.sqldata.php | 0 .../civicrm_option_group}/communication_style.sqldata.php | 0 .../civicrm_option_group}/conference_slot.sqldata.php | 0 .../contact_autocomplete_options.sqldata.php | 0 .../contact_date_reminder_options.sqldata.php | 0 .../civicrm_option_group}/contact_edit_options.sqldata.php | 0 .../civicrm_option_group}/contact_reference_options.sqldata.php | 0 .../contact_smart_group_display.sqldata.php | 0 .../civicrm_option_group}/contact_view_options.sqldata.php | 0 .../civicrm_option_group}/contribution_recur_status.sqldata.php | 0 .../civicrm_option_group}/contribution_status.sqldata.php | 0 .../civicrm_option_group}/currencies_enabled.sqldata.php | 0 .../civicrm_option_group}/custom_data_type.sqldata.php | 0 .../civicrm_option_group}/custom_search.sqldata.php | 0 .../civicrm_option_group}/email_greeting.sqldata.php | 0 .../civicrm_option_group}/encounter_medium.sqldata.php | 0 .../civicrm_option_group}/engagement_index.sqldata.php | 0 .../civicrm_option_group}/entity_batch_extends.sqldata.php | 0 .../civicrm_option_group}/environment.sqldata.php | 0 .../civicrm_option_group}/event_badge.sqldata.php | 0 .../civicrm_option_group}/event_contacts.sqldata.php | 0 .../civicrm_option_group}/event_type.sqldata.php | 0 .../civicrm_option_group}/file_type.sqldata.php | 0 .../civicrm_option_group}/financial_account_type.sqldata.php | 0 .../civicrm_option_group}/financial_item_status.sqldata.php | 0 .../civicrm_option_group}/from_email_address.sqldata.php | 0 .../civicrm_option_group}/gender.sqldata.php | 0 .../civicrm_option_group}/group_type.sqldata.php | 0 .../civicrm_option_group}/individual_prefix.sqldata.php | 0 .../civicrm_option_group}/individual_suffix.sqldata.php | 0 .../civicrm_option_group}/instant_messenger_service.sqldata.php | 0 .../civicrm_option_group}/label_format.sqldata.php | 0 .../civicrm_option_group}/label_type.sqldata.php | 0 .../civicrm_option_group}/mail_approval_status.sqldata.php | 0 .../civicrm_option_group}/mail_protocol.sqldata.php | 0 .../civicrm_option_group}/mapping_type.sqldata.php | 0 .../civicrm_option_group}/mobile_provider.sqldata.php | 0 .../civicrm_option_group}/msg_mode.sqldata.php | 0 .../civicrm_option_group}/name_badge.sqldata.php | 0 .../civicrm_option_group}/note_privacy.sqldata.php | 0 .../civicrm_option_group}/note_used_for.sqldata.php | 0 .../civicrm_option_group}/paper_size.sqldata.php | 0 .../civicrm_option_group}/participant_listing.sqldata.php | 0 .../civicrm_option_group}/participant_role.sqldata.php | 0 .../civicrm_option_group}/payment_instrument.sqldata.php | 0 .../civicrm_option_group}/pcp_owner_notify.sqldata.php | 0 .../civicrm_option_group}/pcp_status.sqldata.php | 0 .../civicrm_option_group}/pdf_format.sqldata.php | 0 .../civicrm_option_group}/phone_type.sqldata.php | 0 .../civicrm_option_group}/pledge_status.sqldata.php | 0 .../civicrm_option_group}/postal_greeting.sqldata.php | 0 .../preferred_communication_method.sqldata.php | 0 .../civicrm_option_group}/priority.sqldata.php | 0 .../civicrm_option_group}/recent_items_providers.sqldata.php | 0 .../civicrm_option_group}/recur_frequency_units.sqldata.php | 0 .../civicrm_option_group}/redaction_rule.sqldata.php | 0 .../civicrm_option_group}/relative_date_filters.sqldata.php | 0 .../civicrm_option_group}/report_template.sqldata.php | 0 .../civicrm_option_group}/safe_file_extension.sqldata.php | 0 .../civicrm_option_group}/sms_api_type.sqldata.php | 0 .../civicrm_option_group}/sms_provider_name.sqldata.php | 0 .../civicrm_option_group}/soft_credit_type.sqldata.php | 0 .../civicrm_option_group}/system_extensions.sqldata.php | 0 .../civicrm_option_group}/tag_used_for.sqldata.php | 0 .../civicrm_option_group}/user_dashboard_options.sqldata.php | 0 .../civicrm_option_group}/visibility.sqldata.php | 0 .../civicrm_option_group}/website_type.sqldata.php | 0 .../civicrm_option_group}/wysiwyg_editor.sqldata.php | 0 .../civicrm_option_group}/wysiwyg_presets.sqldata.php | 0 xml/templates/civicrm_data.tpl | 2 +- 89 files changed, 2 insertions(+), 2 deletions(-) rename sql/{civicrm_option_groups.php => civicrm_data/civicrm_option_group.php} (81%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/accept_creditcard.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/account_relationship.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/acl_role.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/activity_contacts.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/activity_default_assignee.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/activity_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/activity_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/address_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/addressee.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/advanced_search_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/auto_renew_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/batch_mode.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/batch_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/batch_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/campaign_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/campaign_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/case_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/case_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/cg_extend_objects.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/communication_style.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/conference_slot.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_autocomplete_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_date_reminder_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_edit_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_reference_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_smart_group_display.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contact_view_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contribution_recur_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/contribution_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/currencies_enabled.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/custom_data_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/custom_search.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/email_greeting.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/encounter_medium.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/engagement_index.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/entity_batch_extends.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/environment.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/event_badge.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/event_contacts.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/event_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/file_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/financial_account_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/financial_item_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/from_email_address.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/gender.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/group_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/individual_prefix.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/individual_suffix.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/instant_messenger_service.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/label_format.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/label_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/mail_approval_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/mail_protocol.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/mapping_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/mobile_provider.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/msg_mode.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/name_badge.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/note_privacy.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/note_used_for.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/paper_size.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/participant_listing.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/participant_role.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/payment_instrument.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/pcp_owner_notify.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/pcp_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/pdf_format.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/phone_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/pledge_status.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/postal_greeting.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/preferred_communication_method.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/priority.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/recent_items_providers.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/recur_frequency_units.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/redaction_rule.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/relative_date_filters.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/report_template.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/safe_file_extension.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/sms_api_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/sms_provider_name.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/soft_credit_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/system_extensions.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/tag_used_for.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/user_dashboard_options.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/visibility.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/website_type.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/wysiwyg_editor.sqldata.php (100%) rename sql/{civicrm_option_groups => civicrm_data/civicrm_option_group}/wysiwyg_presets.sqldata.php (100%) diff --git a/sql/civicrm_option_groups.php b/sql/civicrm_data/civicrm_option_group.php similarity index 81% rename from sql/civicrm_option_groups.php rename to sql/civicrm_data/civicrm_option_group.php index 8d4ee7eb29..ea0e4594ce 100644 --- a/sql/civicrm_option_groups.php +++ b/sql/civicrm_data/civicrm_option_group.php @@ -1,7 +1,7 @@ $group) { if (!in_array($groupName, $laterGroups)) { -- 2.25.1