Jaxel
Well-known member
Is there a correct procedure to add columns in install scripts? Just running the code below will create errors after subsequent upgrades, since the column already exists:
	
	
	
		
				
			
		Code:
	
	$db->query("ALTER TABLE `EWRmedio_media` ADD `thread_id` int(10) unsigned NOT NULL DEFAULT '0'");