Add table consume, other_consume, location to sql file