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

Change civicrm_payment_processor.payment_processor_type to an id

    Details

    • Type: Task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.2.0
    • Component/s: Accounting Integration
    • Labels:
      None

      Description

      Modify xml/schema/Financial/PaymentProcessor.xml as follows:
      Drop
      <field>
      <name>payment_processor_type</name>
      <type>varchar</type>
      <length>255</length>
      <comment>Payment Processor Type.</comment>
      <add>1.8</add>
      </field>
      Add payment_processor_type_id as an fk to that table, with index.

      Create an upgrade script snippet that creates payment_processor_type_id field, updates the field correctly based on values in payment_processor_type field, then drops payment_processor_type field, and put in the appropriate file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pradeep.nayak Pradeep Nayak
                Reporter:
                joemurray Joe Murray
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: