CRM-14917 upgrade fix
authorCiviCRM <info@civicrm.org>
Fri, 30 May 2014 15:24:40 +0000 (20:54 +0530)
committerCiviCRM <info@civicrm.org>
Fri, 30 May 2014 15:24:40 +0000 (20:54 +0530)
----------------------------------------
* CRM-14917:
  https://issues.civicrm.org/jira/browse/CRM-14917

CRM/Upgrade/Incremental/sql/4.5.alpha1.mysql.tpl

index 3aabe6efaf10471b509f6559a853b4928afb7ecf..e16de93c0b8d479e90ffb9b11be195b3e95f7d64 100644 (file)
@@ -525,7 +525,7 @@ WHERE co.id IS NULL;
 
 -- CRM-14197 Add contribution_id to civicrm_line_item
 
-ALTER TABLE civicrm_line_item ADD contribution_id INT(10) COMMENT 'Contribution ID' NULL AFTER entity_id;
+ALTER TABLE civicrm_line_item ADD contribution_id INT(10) unsigned COMMENT 'Contribution ID' NULL AFTER entity_id;
 
 -- FK to civicrm_contribution