   PRIMARY KEY (`id`),
   KEY `IDX_9CE12A316BF700BD` (`status_id`),
   KEY `IDX_9CE12A3110405986` (`institution_id`),
+  KEY `IDX_9CE12A31F639F774` (`campaign_id`),
   CONSTRAINT `FK_9CE12A3110405986` FOREIGN KEY (`institution_id`) REFERENCES `institutions` (`id`),
-  CONSTRAINT `FK_9CE12A316BF700BD` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`)
+  CONSTRAINT `FK_9CE12A316BF700BD` FOREIGN KEY (`status_id`) REFERENCES `status` (`id`),
+  CONSTRAINT `FK_9CE12A31F639F774` FOREIGN KEY (`campaign_id`) REFERENCES `campaign` (`id`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 

/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `donations`
--


/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2016-10-23  3:23:22
