The table name == 'queue' and field name == 'queue' is slightly confusing. Maybe renamed the 'queue' field to 'name'?