mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	* refactor: DB Updates will now file level lock to stop duplicate updates * scrut fixes * renamed function from clear_lock() to release_lock()
		
			
				
	
	
		
			4 lines
		
	
	
		
			172 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
		
			172 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
| ALTER TABLE `eventlog` ADD `device_id` INT NOT NULL AFTER `host` ;
 | |
| ALTER TABLE `eventlog` ADD INDEX ( `device_id` ) ;
 | |
| UPDATE eventlog SET device_id=host WHERE device_id=0;
 |