Changes to be compatible with latest version of illuminate/database

Signed-off-by: Ben Corlett <bencorlett@me.com>