Load ql before creating tables

Signed-off-by: Julien Danjou <julien@danjou.info>