Custom field in database schema

Hi all,

I needed a custom field for all of my queues which is tagged by a simple
internal integer. I’m assuming this doesn’t get automagically inserted as an
additional column in any of the tables within the rt3 database?

I’d like to be able to run SQL queries against the custom field, so if I can
find where it’s hidden and how to grab it, that’d be great.