From 90c7f7d2b82a6a6d644a0d854394a42f712dc229 Mon Sep 17 00:00:00 2001 From: Peter Hartmann <peter@hartmanncomputer.com> Date: Thu, 26 Jan 2017 15:13:06 -0500 Subject: [PATCH] fix silly install bug --- stripe.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stripe.php b/stripe.php index 3ee4ecdd..1c50cb7b 100644 --- a/stripe.php +++ b/stripe.php @@ -55,8 +55,8 @@ function stripe_civicrm_install() { `is_live` tinyint(4) NOT NULL COMMENT 'Whether this is a live or test transaction', `processor_id` int(10) DEFAULT NULL COMMENT 'ID from civicrm_payment_processor', KEY `end_time` (`end_time`), PRIMARY KEY `subscription_id` (`subscription_id`), - ADD CONSTRAINT `FK_civicrm_stripe_contribution_recur_id` FOREIGN KEY (`contribution_recur_id`) - REFERENCES `civicrm4`.`civicrm_contribution_recur`(`id`) ON DELETE SET NULL ON UPDATE RESTRICT + CONSTRAINT `FK_civicrm_stripe_contribution_recur_id` FOREIGN KEY (`contribution_recur_id`) + REFERENCES `civicrm_contribution_recur`(`id`) ON DELETE SET NULL ON UPDATE RESTRICT ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; "); -- GitLab