 762ace810d
			
		
	
	762ace810d
	
	
	
		
			
			Summary: Added ttl field to files. Gabage collect files with expired ttl Test Plan: created file with a ttl. Let garbage collector run Reviewers: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4987
		
			
				
	
	
		
			4 lines
		
	
	
		
			103 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			103 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| ALTER TABLE {$NAMESPACE}_file.file 
 | |
|   ADD ttl INT(10) UNSIGNED DEFAULT NULL, 
 | |
|   ADD KEY key_ttl (ttl);
 |