No need of `orm` here, can be a one liner: `Doorkeeper.configure { use_refresh_token }`.