We don't want to rely on those hard coded queries. One of the main reasons we're moving to our own drivers and adapters is to avoid that fragile stuff :)

If we can delete it, great. Otherwise switch to the types table.