add 'type' column to queue table