ORM specifics for Doorkeeper