Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-16726

FIle-backed custom data schema

    Details

    • Type: Improvement
    • Status: Won't Do
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: Unscheduled
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding

      Description

      I'm proposing a feature, that the custom group and field schema is mirrored in the filesystem, and this file can be copied to another instance and used to recreate the database schema.

      Creating a new group or field in the UI would update this file, and there would be some mechanism to sync to the file. We should include a version number to ensure that we're always monotonically increasing.

      The file could be YAML or XML, and might look like:
      {{
      groupname:
      name: a_group

      fields:
      fieldname:
      name: yer_field
      data_type: String
      html_type: Text
      is_required: 1
      is_view: 0
      }}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adamw Adam Wight
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: