"update" is enough
This commit is contained in:
		
					parent
					
						
							
								cf56de1e77
							
						
					
				
			
			
				commit
				
					
						2d7cd2daf4
					
				
			
		
					 5 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -21,10 +21,10 @@ unset($db_host, $db_user, $db_pass, $db_data);
 | 
			
		|||
if ($_SERVER["argc"] == 2) {
 | 
			
		||||
	switch ($_SERVER["argv"][1]) {
 | 
			
		||||
		case "dryrun":
 | 
			
		||||
			DBStructure::updateStructure(true, false);
 | 
			
		||||
			DBStructure::update(true, false);
 | 
			
		||||
			return;
 | 
			
		||||
		case "update":
 | 
			
		||||
			DBStructure::updateStructure(true, true);
 | 
			
		||||
			DBStructure::update(true, true);
 | 
			
		||||
 | 
			
		||||
			$build = Config::get('system','build');
 | 
			
		||||
			if (!x($build)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue