2012-04-30 07:53:53 -07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								CREATE TABLE IF NOT EXISTS {$NAMESPACE}_owners.owners_packagecommitrelationship (
							 | 
						
					
						
							
								
									
										
										
											
												Add Related Commits for Owners
Summary:
For each commit, find the affected packages, and provide a way to
search by package.
Test Plan:
create commits that touch and don't touch two packages, and verify
that they display correctly in all the UI pages.
Reviewers: epriestley, blair, nh, tuomaspelkonen
Reviewed By: epriestley
CC: benmathews, aran, epriestley, btrahan, jungejason, mpodobnik, prithvi
Maniphest Tasks: T83
Differential Revision: 1208
											
										 
										
											2011-12-14 00:53:25 -08:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  `packagePHID` varchar(64) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  `commitPHID` varchar(64) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  PRIMARY KEY (`id`),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  KEY `packagePHID` (`packagePHID`),
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  KEY `commitPHID` (`commitPHID`)
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								) ENGINE=InnoDB DEFAULT CHARSET=latin1;
							 |