In vBulletin I was used to alter database tables like this:
	
	
	
		
But this commands are not working anymore. How do they have to look like?
				
			
		PHP:
	
	        $dbalter->fetch_table_info('tablename');
         $dbalter->add_field(array(
            'name'       => 'fieldname',
            'type'       => 'int',
            'length'       => '10',
            'null'       => false,
            'default'    => '0'
        ), false);